home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-04-15 | 296.6 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Apr 12 17:55:04 1993, modified Mon Apr 15 11:45:48 1996, creator HyperCard, type HyperCard stack, 146144 bytes "TimeCache� 1.6 Demo" , at 0x23b60 157384 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
50%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 54 69 6d 65 43 61 | 63 68 65 aa 20 31 2e 36 |..TimeCa|che. 1.6|
|00000010| 20 44 65 6d 6f 00 00 00 | 00 00 00 00 00 00 00 00 | Demo...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 3a e0 00 | 02 66 c8 a7 ef 95 b8 ad |.....:..|.f......|
|00000060| 98 1f ac 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 df a8 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 02 3a e0 | 00 00 70 00 00 00 00 00 |......:.|..p.....|
|000000a0| 00 00 00 00 00 00 00 05 | 00 00 0a b8 00 00 00 05 |........|........|
|000000b0| 00 00 0b 70 00 00 1f b2 | 00 00 00 00 00 00 00 00 |...p....|........|
|000000c0| 00 00 10 45 d0 33 db 46 | 00 05 00 00 18 00 00 00 |...E.3.F|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 30 80 00 | 02 30 80 00 02 30 80 00 |.....0..|.0...0..|
|000000f0| 05 8e 00 7d 00 00 00 00 | 00 2c 00 10 01 82 02 10 |...}....|.,......|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d a9 00 00 0c d1 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 20 54 49 4d 45 | 43 41 43 48 45 aa 20 31 |-- TIME|CACHE. 1|
|00000690| 2e 36 20 44 45 4d 4f 0d | 2d 2d 20 20 43 6f 70 79 |.6 DEMO.|-- Copy|
|000006a0| 72 69 67 68 74 20 31 39 | 39 35 2c 20 31 39 39 36 |right 19|95, 1996|
|000006b0| 20 54 68 65 20 50 61 6e | 64 61 57 61 72 65 a8 20 | The Pan|daWare. |
|000006c0| 43 6f 6d 70 61 6e 79 0d | 2d 2d 20 20 41 6c 6c 20 |Company.|-- All |
|000006d0| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 0d |rights r|eserved.|
|000006e0| 0d 6f 6e 20 62 75 69 6c | 64 53 75 6d 52 65 70 6f |.on buil|dSumRepo|
|000006f0| 72 74 0d 67 65 74 20 67 | 65 74 52 44 61 74 65 73 |rt.get g|etRDates|
|00000700| 28 22 43 72 65 61 74 65 | 20 73 75 6d 6d 61 72 79 |("Create| summary|
|00000710| 20 66 6f 72 22 29 0d 69 | 66 20 6c 69 6e 65 20 31 | for").i|f line 1|
|00000720| 20 6f 66 20 69 74 20 3d | 20 22 22 20 6f 72 20 6c | of it =| "" or l|
|00000730| 69 6e 65 20 32 20 6f 66 | 20 69 74 20 3d 20 22 22 |ine 2 of| it = ""|
|00000740| 20 74 68 65 6e 20 65 78 | 69 74 20 62 75 69 6c 64 | then ex|it build|
|00000750| 53 75 6d 52 65 70 6f 72 | 74 0d 70 75 74 20 6c 69 |SumRepor|t.put li|
|00000760| 6e 65 20 31 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |ne 1 of |it into |
|00000770| 73 74 61 72 74 44 61 74 | 65 0d 70 75 74 20 6c 69 |startDat|e.put li|
|00000780| 6e 65 20 32 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |ne 2 of |it into |
|00000790| 65 6e 64 44 61 74 65 0d | 70 75 74 20 66 6c 64 20 |endDate.|put fld |
|000007a0| 69 64 20 33 20 69 6e 74 | 6f 20 61 63 74 46 69 65 |id 3 int|o actFie|
|000007b0| 6c 64 0d 70 75 74 20 66 | 6c 64 20 69 64 20 36 20 |ld.put f|ld id 6 |
|000007c0| 69 6e 74 6f 20 68 6f 75 | 72 46 69 65 6c 64 0d 70 |into hou|rField.p|
|000007d0| 75 74 20 66 6c 64 20 69 | 64 20 35 20 69 6e 74 6f |ut fld i|d 5 into|
|000007e0| 20 63 68 61 72 67 65 46 | 69 65 6c 64 0d 70 75 74 | chargeF|ield.put|
|000007f0| 20 22 22 20 69 6e 74 6f | 20 6f 6e 65 43 68 61 72 | "" into| oneChar|
|00000800| 67 65 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 63 |ge.put "|" into c|
|00000810| 68 61 72 67 65 54 6f 74 | 61 6c 0d 70 75 74 20 22 |hargeTot|al.put "|
|00000820| 22 20 69 6e 74 6f 20 74 | 68 65 41 63 74 73 0d 72 |" into t|heActs.r|
|00000830| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|00000840| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00000850| 66 20 6c 69 6e 65 73 20 | 69 6e 20 66 6c 64 20 69 |f lines |in fld i|
|00000860| 64 20 32 0d 67 65 74 20 | 73 68 6f 72 74 54 6f 53 |d 2.get |shortToS|
|00000870| 65 63 73 28 6c 69 6e 65 | 20 78 20 6f 66 20 66 6c |ecs(line| x of fl|
|00000880| 64 20 69 64 20 32 29 0d | 69 66 20 20 69 74 20 3c |d id 2).|if it <|
|00000890| 20 73 74 61 72 74 44 61 | 74 65 20 6f 72 20 69 74 | startDa|te or it|
|000008a0| 20 3e 20 65 6e 64 44 61 | 74 65 20 74 68 65 6e 20 | > endDa|te then |
|000008b0| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 70 75 74 20 |next rep|eat.put |
|000008c0| 6c 69 6e 65 20 78 20 6f | 66 20 61 63 74 46 69 65 |line x o|f actFie|
|000008d0| 6c 64 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |ld & ret|urn afte|
|000008e0| 72 20 74 68 65 41 63 74 | 73 0d 70 75 74 20 6c 69 |r theAct|s.put li|
|000008f0| 6e 65 20 78 20 6f 66 20 | 68 6f 75 72 46 69 65 6c |ne x of |hourFiel|
|00000900| 64 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |d & retu|rn after|
|00000910| 20 74 68 65 48 6f 75 72 | 73 0d 70 75 74 20 6c 69 | theHour|s.put li|
|00000920| 6e 65 20 78 20 6f 66 20 | 63 68 61 72 67 65 46 69 |ne x of |chargeFi|
|00000930| 65 6c 64 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |eld & re|turn aft|
|00000940| 65 72 20 74 68 65 43 68 | 61 72 67 65 73 0d 65 6e |er theCh|arges.en|
|00000950| 64 20 72 65 70 65 61 74 | 0d 69 66 20 74 68 65 41 |d repeat|.if theA|
|00000960| 63 74 73 20 3d 20 22 22 | 20 74 68 65 6e 0d 67 65 |cts = ""| then.ge|
|00000970| 74 20 64 6f 44 6c 6f 67 | 28 32 39 35 31 2c 22 54 |t doDlog|(2951,"T|
|00000980| 68 65 72 65 d5 73 20 6e | 6f 74 68 69 6e 67 20 74 |here.s n|othing t|
|00000990| 6f 20 73 75 6d 6d 61 72 | 69 7a 65 21 22 2c 22 22 |o summar|ize!",""|
|000009a0| 2c 22 22 2c 22 22 2c 22 | 22 2c 22 22 29 0d 65 78 |,"","","|","").ex|
|000009b0| 69 74 20 62 75 69 6c 64 | 53 75 6d 52 65 70 6f 72 |it build|SumRepor|
|000009c0| 74 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 63 75 72 |t.end if|.set cur|
|000009d0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 67 65 74 |sor to w|atch.get|
|000009e0| 20 73 75 6d 52 65 70 6f | 72 74 28 74 68 65 41 63 | sumRepo|rt(theAc|
|000009f0| 74 73 2c 74 68 65 48 6f | 75 72 73 2c 74 68 65 43 |ts,theHo|urs,theC|
|00000a00| 68 61 72 67 65 73 29 0d | 70 75 74 20 69 74 65 6d |harges).|put item|
|00000a10| 20 31 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 61 63 | 1 of it| into ac|
|00000a20| 74 46 69 65 6c 64 0d 70 | 75 74 20 69 74 65 6d 20 |tField.p|ut item |
|00000a30| 32 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 68 6f 75 |2 of it |into hou|
|00000a40| 72 46 69 65 6c 64 0d 70 | 75 74 20 69 74 65 6d 20 |rField.p|ut item |
|00000a50| 33 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 63 68 61 |3 of it |into cha|
|00000a60| 72 67 65 46 69 65 6c 64 | 0d 70 75 74 20 63 75 72 |rgeField|.put cur|
|00000a70| 72 65 6e 63 79 46 6f 72 | 6d 61 74 28 63 68 61 72 |rencyFor|mat(char|
|00000a80| 67 65 46 6f 72 6d 61 74 | 28 73 75 6d 49 74 28 63 |geFormat|(sumIt(c|
|00000a90| 68 61 72 67 65 46 69 65 | 6c 64 29 29 29 20 69 6e |hargeFie|ld))) in|
|00000aa0| 74 6f 20 63 68 61 72 67 | 65 54 6f 74 61 6c 0d 72 |to charg|eTotal.r|
|00000ab0| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|00000ac0| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00000ad0| 66 20 6c 69 6e 65 73 20 | 69 6e 20 63 68 61 72 67 |f lines |in charg|
|00000ae0| 65 46 69 65 6c 64 0d 70 | 75 74 20 63 68 61 72 67 |eField.p|ut charg|
|00000af0| 65 46 6f 72 6d 61 74 28 | 6c 69 6e 65 20 78 20 6f |eFormat(|line x o|
|00000b00| 66 20 63 68 61 72 67 65 | 46 69 65 6c 64 29 20 69 |f charge|Field) i|
|00000b10| 6e 74 6f 20 6c 69 6e 65 | 20 78 20 6f 66 20 63 68 |nto line| x of ch|
|00000b20| 61 72 67 65 46 69 65 6c | 64 0d 65 6e 64 20 72 65 |argeFiel|d.end re|
|00000b30| 70 65 61 74 0d 70 75 74 | 20 6e 75 6d 46 6f 72 6d |peat.put| numForm|
|00000b40| 61 74 28 73 75 6d 49 74 | 28 74 68 65 48 6f 75 72 |at(sumIt|(theHour|
|00000b50| 73 29 2c 32 29 20 69 6e | 74 6f 20 68 6f 75 72 54 |s),2) in|to hourT|
|00000b60| 6f 74 61 6c 0d 70 75 74 | 20 66 6c 64 20 69 64 20 |otal.put| fld id |
|00000b70| 34 34 20 69 6e 74 6f 20 | 70 72 6f 6a 4e 61 6d 65 |44 into |projName|
|00000b80| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 38 20 69 6e |.put fld| id 8 in|
|00000b90| 74 6f 20 63 6c 69 65 6e | 74 4e 61 6d 65 0d 70 75 |to clien|tName.pu|
|00000ba0| 74 20 66 6c 64 20 69 64 | 20 39 20 69 6e 74 6f 20 |t fld id| 9 into |
|00000bb0| 6a 6f 62 4e 75 6d 0d 70 | 75 74 20 6c 69 6e 65 20 |jobNum.p|ut line |
|00000bc0| 31 20 6f 66 20 66 6c 64 | 20 69 64 20 31 30 20 69 |1 of fld| id 10 i|
|00000bd0| 6e 74 6f 20 63 75 73 74 | 46 6c 64 0d 70 75 73 68 |nto cust|Fld.push|
|00000be0| 20 63 64 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d | cd.lock| screen.|
|00000bf0| 67 6f 20 62 67 20 69 64 | 20 36 31 38 32 0d 70 75 |go bg id| 6182.pu|
|00000c00| 74 20 61 63 74 46 69 65 | 6c 64 20 69 6e 74 6f 20 |t actFie|ld into |
|00000c10| 66 6c 64 20 69 64 20 31 | 36 0d 70 75 74 20 68 6f |fld id 1|6.put ho|
|00000c20| 75 72 46 69 65 6c 64 20 | 69 6e 74 6f 20 66 6c 64 |urField |into fld|
|00000c30| 20 69 64 20 31 38 0d 70 | 75 74 20 63 68 61 72 67 | id 18.p|ut charg|
|00000c40| 65 46 69 65 6c 64 20 69 | 6e 74 6f 20 66 6c 64 20 |eField i|nto fld |
|00000c50| 69 64 20 31 37 0d 70 75 | 74 20 70 72 6f 6a 4e 61 |id 17.pu|t projNa|
|00000c60| 6d 65 20 69 6e 74 6f 20 | 66 6c 64 20 69 64 20 31 |me into |fld id 1|
|00000c70| 0d 70 75 74 20 63 6c 69 | 65 6e 74 4e 61 6d 65 20 |.put cli|entName |
|00000c80| 69 6e 74 6f 20 66 6c 64 | 20 69 64 20 32 0d 70 75 |into fld| id 2.pu|
|00000c90| 74 20 6a 6f 62 4e 75 6d | 20 69 6e 74 6f 20 66 6c |t jobNum| into fl|
|00000ca0| 64 20 69 64 20 33 0d 70 | 75 74 20 63 68 61 72 67 |d id 3.p|ut charg|
|00000cb0| 65 54 6f 74 61 6c 20 69 | 6e 74 6f 20 66 6c 64 20 |eTotal i|nto fld |
|00000cc0| 69 64 20 34 0d 70 75 74 | 20 68 6f 75 72 54 6f 74 |id 4.put| hourTot|
|00000cd0| 61 6c 20 26 26 20 22 68 | 72 2e 22 20 69 6e 74 6f |al && "h|r." into|
|00000ce0| 20 66 6c 64 20 69 64 20 | 35 0d 63 6f 6e 76 65 72 | fld id |5.conver|
|00000cf0| 74 20 73 74 61 72 74 44 | 61 74 65 20 74 6f 20 73 |t startD|ate to s|
|00000d00| 68 6f 72 74 20 64 61 74 | 65 0d 63 6f 6e 76 65 72 |hort dat|e.conver|
|00000d10| 74 20 65 6e 64 44 61 74 | 65 20 74 6f 20 73 68 6f |t endDat|e to sho|
|00000d20| 72 74 20 64 61 74 65 0d | 70 75 74 20 73 74 61 72 |rt date.|put star|
|00000d30| 74 44 61 74 65 20 26 26 | 20 22 d0 22 20 26 26 20 |tDate &&| "." && |
|00000d40| 65 6e 64 44 61 74 65 20 | 69 6e 74 6f 20 66 6c 64 |endDate |into fld|
|00000d50| 20 69 64 20 32 32 0d 69 | 66 20 63 75 73 74 46 6c | id 22.i|f custFl|
|00000d60| 64 20 ad 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |d . "" t|hen put |
|00000d70| 63 75 73 74 46 6c 64 20 | 69 6e 74 6f 20 66 6c 64 |custFld |into fld|
|00000d80| 20 69 64 20 39 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | id 9.un|lock scr|
|00000d90| 65 65 6e 0d 65 6e 64 20 | 62 75 69 6c 64 53 75 6d |een.end |buildSum|
|00000da0| 52 65 70 6f 72 74 0d 0d | 6f 6e 20 6f 70 65 6e 52 |Report..|on openR|
|00000db0| 70 74 0d 67 6c 6f 62 61 | 6c 20 74 6b 50 72 65 66 |pt.globa|l tkPref|
|00000dc0| 73 2c 72 46 69 6c 65 0d | 70 75 74 20 22 22 20 69 |s,rFile.|put "" i|
|00000dd0| 6e 74 6f 20 6f 6c 64 4c | 6f 63 0d 69 66 20 6c 69 |nto oldL|oc.if li|
|00000de0| 6e 65 20 31 32 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 12 of| tkPrefs|
|00000df0| 20 3d 20 35 0d 74 68 65 | 6e 20 70 75 74 20 22 4f | = 5.the|n put "O|
|00000e00| 70 65 6e 20 72 65 70 6f | 72 74 20 77 69 74 68 22 |pen repo|rt with"|
|00000e10| 20 26 26 20 6c 69 6e 65 | 20 34 20 6f 66 20 74 6b | && line| 4 of tk|
|00000e20| 50 72 65 66 73 20 26 20 | 22 3f 22 20 69 6e 74 6f |Prefs & |"?" into|
|00000e30| 20 70 72 6f 6d 70 74 0d | 65 6c 73 65 20 70 75 74 | prompt.|else put|
|00000e40| 20 22 4f 70 65 6e 20 46 | 69 6c 65 4d 61 6b 65 72 | "Open F|ileMaker|
|00000e50| 20 72 65 70 6f 72 74 3f | 22 20 69 6e 74 6f 20 70 | report?|" into p|
|00000e60| 72 6f 6d 70 74 0d 67 65 | 74 20 64 6f 44 6c 6f 67 |rompt.ge|t doDlog|
|00000e70| 28 32 36 31 39 2c 70 72 | 6f 6d 70 74 29 0d 69 66 |(2619,pr|ompt).if|
|00000e80| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 3d 20 | line 1 |of it = |
|00000e90| 32 20 74 68 65 6e 20 65 | 78 69 74 20 6f 70 65 6e |2 then e|xit open|
|00000ea0| 52 70 74 0d 0d 69 66 20 | 6c 69 6e 65 20 31 32 20 |Rpt..if |line 12 |
|00000eb0| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 35 20 74 |of tkPre|fs = 5 t|
|00000ec0| 68 65 6e 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |hen.if t|here is |
|00000ed0| 6e 6f 74 20 61 20 66 69 | 6c 65 20 6c 69 6e 65 20 |not a fi|le line |
|00000ee0| 32 20 6f 66 20 74 6b 50 | 72 65 66 73 20 74 68 65 |2 of tkP|refs the|
|00000ef0| 6e 0d 70 75 74 20 6c 69 | 6e 65 20 32 20 6f 66 20 |n.put li|ne 2 of |
|00000f00| 74 6b 50 72 65 66 73 20 | 69 6e 74 6f 20 6f 6c 64 |tkPrefs |into old|
|00000f10| 4c 6f 63 0d 73 64 41 6c | 65 72 74 20 22 43 61 6e |Loc.sdAl|ert "Can|
|00000f20| 27 74 20 66 69 6e 64 22 | 20 26 26 20 6c 69 6e 65 |'t find"| && line|
|00000f30| 20 34 20 6f 66 20 74 6b | 50 72 65 66 73 0d 6a 6f | 4 of tk|Prefs.jo|
|00000f40| 62 41 70 70 73 0d 65 6e | 64 20 69 66 0d 69 66 20 |bApps.en|d if.if |
|00000f50| 6c 69 6e 65 20 32 20 6f | 66 20 74 6b 50 72 65 66 |line 2 o|f tkPref|
|00000f60| 73 20 ad 20 6f 6c 64 4c | 6f 63 20 74 68 65 6e 20 |s . oldL|oc then |
|00000f70| 6f 70 65 6e 20 72 46 69 | 6c 65 20 77 69 74 68 20 |open rFi|le with |
|00000f80| 6c 69 6e 65 20 32 20 6f | 66 20 74 6b 50 72 65 66 |line 2 o|f tkPref|
|00000f90| 73 0d 65 6e 64 20 69 66 | 0d 0d 69 66 20 6c 69 6e |s.end if|..if lin|
|00000fa0| 65 20 31 32 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |e 12 of |tkPrefs |
|00000fb0| 3d 20 34 20 74 68 65 6e | 0d 69 66 20 74 68 65 72 |= 4 then|.if ther|
|00000fc0| 65 20 69 73 20 6e 6f 74 | 20 61 20 66 69 6c 65 20 |e is not| a file |
|00000fd0| 6c 69 6e 65 20 31 35 20 | 6f 66 20 74 6b 50 72 65 |line 15 |of tkPre|
|00000fe0| 66 73 20 74 68 65 6e 20 | 66 69 6e 64 54 69 6d 65 |fs then |findTime|
|00000ff0| 52 65 70 6f 72 74 0d 69 | 66 20 74 68 65 72 65 20 |Report.i|f there |
|00001000| 69 73 20 6e 6f 74 20 61 | 20 66 69 6c 65 20 6c 69 |is not a| file li|
|00001010| 6e 65 20 31 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |ne 1 of |tkPrefs |
|00001020| 74 68 65 6e 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |then.put| line 1 |
|00001030| 6f 66 20 74 6b 50 72 65 | 66 73 20 69 6e 74 6f 20 |of tkPre|fs into |
|00001040| 6f 6c 64 4c 6f 63 0d 73 | 64 41 6c 65 72 74 20 22 |oldLoc.s|dAlert "|
|00001050| 43 61 6e 27 74 20 66 69 | 6e 64 20 46 69 6c 65 4d |Can't fi|nd FileM|
|00001060| 61 6b 65 72 22 0d 6a 6f | 62 41 70 70 73 0d 65 6e |aker".jo|bApps.en|
|00001070| 64 20 69 66 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f |d if.if |line 1 o|
|00001080| 66 20 74 6b 50 72 65 66 | 73 20 ad 20 6f 6c 64 4c |f tkPref|s . oldL|
|00001090| 6f 63 20 74 68 65 6e 20 | 6f 70 65 6e 20 6c 69 6e |oc then |open lin|
|000010a0| 65 20 31 35 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |e 15 of |tkPrefs |
|000010b0| 77 69 74 68 20 6c 69 6e | 65 20 31 20 6f 66 20 74 |with lin|e 1 of t|
|000010c0| 6b 50 72 65 66 73 0d 67 | 65 74 20 74 68 65 20 72 |kPrefs.g|et the r|
|000010d0| 65 73 75 6c 74 0d 69 66 | 20 6f 66 66 73 65 74 28 |esult.if| offset(|
|000010e0| 22 61 70 70 6c 69 63 61 | 74 69 6f 6e 22 2c 69 74 |"applica|tion",it|
|000010f0| 29 20 ad 20 30 20 74 68 | 65 6e 20 73 64 41 6c 65 |) . 0 th|en sdAle|
|00001100| 72 74 20 22 4e 6f 74 20 | 65 6e 6f 75 67 68 20 6d |rt "Not |enough m|
|00001110| 65 6d 6f 72 79 21 22 0d | 65 6c 73 65 20 69 66 20 |emory!".|else if |
|00001120| 69 74 20 ad 20 22 22 20 | 74 68 65 6e 20 6f 70 65 |it . "" |then ope|
|00001130| 6e 20 6c 69 6e 65 20 31 | 20 6f 66 20 74 6b 50 72 |n line 1| of tkPr|
|00001140| 65 66 73 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6f |efs.end |if.end o|
|00001150| 70 65 6e 52 70 74 0d 0d | 6f 6e 20 77 72 69 74 65 |penRpt..|on write|
|00001160| 52 65 70 6f 72 74 0d 67 | 6c 6f 62 61 6c 20 74 65 |Report.g|lobal te|
|00001170| 78 74 2c 72 46 69 6c 65 | 2c 74 6b 50 72 65 66 73 |xt,rFile|,tkPrefs|
|00001180| 0d 6f 70 65 6e 20 66 69 | 6c 65 20 72 46 69 6c 65 |.open fi|le rFile|
|00001190| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 ad |.if the |result .|
|000011a0| 20 22 22 20 74 68 65 6e | 0d 67 65 74 20 74 68 65 | "" then|.get the|
|000011b0| 20 72 65 73 75 6c 74 0d | 62 65 65 70 0d 73 64 41 | result.|beep.sdA|
|000011c0| 6c 65 72 74 20 69 74 20 | 26 26 20 22 43 61 6e d5 |lert it |&& "Can.|
|000011d0| 74 20 63 6f 6d 70 6c 65 | 74 65 20 65 78 70 6f 72 |t comple|te expor|
|000011e0| 74 2e 22 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |t.".put |"" into |
|000011f0| 74 65 78 74 0d 65 78 69 | 74 20 77 72 69 74 65 52 |text.exi|t writeR|
|00001200| 65 70 6f 72 74 0d 65 6e | 64 20 69 66 0d 77 72 69 |eport.en|d if.wri|
|00001210| 74 65 20 74 65 78 74 20 | 74 6f 20 66 69 6c 65 20 |te text |to file |
|00001220| 72 46 69 6c 65 0d 63 6c | 6f 73 65 20 66 69 6c 65 |rFile.cl|ose file|
|00001230| 20 72 46 69 6c 65 0d 70 | 75 74 20 22 22 20 69 6e | rFile.p|ut "" in|
|00001240| 74 6f 20 74 65 78 74 0d | 69 66 20 6c 69 6e 65 20 |to text.|if line |
|00001250| 31 39 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 |19 of tk|Prefs = |
|00001260| 22 54 52 55 45 22 20 74 | 68 65 6e 20 6f 70 65 6e |"TRUE" t|hen open|
|00001270| 52 70 74 0d 65 6e 64 20 | 77 72 69 74 65 52 65 70 |Rpt.end |writeRep|
|00001280| 6f 72 74 0d 0d 6f 6e 20 | 73 64 41 6c 65 72 74 20 |ort..on |sdAlert |
|00001290| 70 72 6f 6d 70 74 0d 67 | 65 74 20 64 6f 44 6c 6f |prompt.g|et doDlo|
|000012a0| 67 28 32 39 35 31 2c 70 | 72 6f 6d 70 74 29 0d 65 |g(2951,p|rompt).e|
|000012b0| 6e 64 20 73 64 41 6c 65 | 72 74 0d 0d 6f 6e 20 73 |nd sdAle|rt..on s|
|000012c0| 68 6f 77 54 4b 4e 61 76 | 0d 67 6c 6f 62 61 6c 20 |howTKNav|.global |
|000012d0| 74 6b 50 72 65 66 73 2c | 70 61 6c 48 69 0d 69 66 |tkPrefs,|palHi.if|
|000012e0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 74 20 61 20 | there i|s not a |
|000012f0| 77 69 6e 64 6f 77 20 22 | 73 65 63 74 4e 61 76 22 |window "|sectNav"|
|00001300| 0d 74 68 65 6e 20 70 61 | 6c 65 74 74 65 20 22 73 |.then pa|lette "s|
|00001310| 65 63 74 4e 61 76 22 2c | 74 6b 4e 61 76 4c 6f 63 |ectNav",|tkNavLoc|
|00001320| 28 29 0d 73 65 74 20 74 | 68 65 20 68 69 6c 69 74 |().set t|he hilit|
|00001330| 65 64 42 75 74 74 6f 6e | 20 6f 66 20 77 69 6e 64 |edButton| of wind|
|00001340| 6f 77 20 22 73 65 63 74 | 4e 61 76 22 20 74 6f 20 |ow "sect|Nav" to |
|00001350| 70 61 6c 48 69 0d 70 75 | 74 20 22 48 69 64 65 20 |palHi.pu|t "Hide |
|00001360| 4e 61 76 69 67 61 74 6f | 72 22 20 69 6e 74 6f 20 |Navigato|r" into |
|00001370| 6d 65 6e 75 49 74 65 6d | 20 31 32 20 6f 66 20 6d |menuItem| 12 of m|
|00001380| 65 6e 75 20 47 6f 0d 70 | 75 74 20 22 48 69 64 65 |enu Go.p|ut "Hide|
|00001390| 22 20 69 6e 74 6f 20 6c | 69 6e 65 20 32 32 20 6f |" into l|ine 22 o|
|000013a0| 66 20 74 6b 50 72 65 66 | 73 0d 65 6e 64 20 73 68 |f tkPref|s.end sh|
|000013b0| 6f 77 54 4b 4e 61 76 0d | 0d 6f 6e 20 6f 70 65 6e |owTKNav.|.on open|
|000013c0| 53 74 61 63 6b 0d 67 6c | 6f 62 61 6c 20 7a 2c 74 |Stack.gl|obal z,t|
|000013d0| 6b 50 72 65 66 73 2c 70 | 61 6c 48 69 2c 74 69 6d |kPrefs,p|alHi,tim|
|000013e0| 65 72 4f 6e 0d 73 65 74 | 20 74 68 65 20 63 61 6e |erOn.set| the can|
|000013f0| 74 61 62 6f 72 74 20 6f | 66 20 74 68 69 73 20 73 |tabort o|f this s|
|00001400| 74 61 63 6b 20 74 6f 20 | 74 72 75 65 0d 6c 6f 63 |tack to |true.loc|
|00001410| 6b 20 73 63 72 65 65 6e | 0d 69 66 20 63 68 61 72 |k screen|.if char|
|00001420| 20 31 20 6f 66 20 74 68 | 65 20 76 65 72 73 69 6f | 1 of th|e versio|
|00001430| 6e 20 3c 20 32 20 74 68 | 65 6e 0d 73 64 41 6c 65 |n < 2 th|en.sdAle|
|00001440| 72 74 20 22 53 6f 72 72 | 79 2e 20 54 69 6d 65 43 |rt "Sorr|y. TimeC|
|00001450| 61 63 68 65 20 72 65 71 | 75 69 72 65 73 20 48 79 |ache req|uires Hy|
|00001460| 70 65 72 43 61 72 64 20 | 76 65 72 73 69 6f 6e 20 |perCard |version |
|00001470| 32 2e 30 20 6f 72 20 68 | 69 67 68 65 72 2e 22 0d |2.0 or h|igher.".|
|00001480| 67 6f 20 68 6f 6d 65 0d | 65 6e 64 20 69 66 0d 69 |go home.|end if.i|
|00001490| 66 20 66 6c 64 20 69 64 | 20 31 35 20 6f 66 20 63 |f fld id| 15 of c|
|000014a0| 64 20 31 20 3d 20 22 22 | 20 74 68 65 6e 20 70 75 |d 1 = ""| then pu|
|000014b0| 74 20 74 68 65 20 6c 6f | 6e 67 20 64 61 74 65 20 |t the lo|ng date |
|000014c0| 69 6e 74 6f 20 66 6c 64 | 20 69 64 20 31 35 20 6f |into fld| id 15 o|
|000014d0| 66 20 63 64 20 31 0d 69 | 66 20 7a 20 3d 20 22 22 |f cd 1.i|f z = ""|
|000014e0| 20 74 68 65 6e 20 70 75 | 74 20 31 20 2b 20 28 74 | then pu|t 1 + (t|
|000014f0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00001500| 65 73 20 69 6e 20 66 6c | 64 20 69 64 20 31 20 6f |es in fl|d id 1 o|
|00001510| 66 20 63 64 20 31 29 20 | 69 6e 74 6f 20 7a 0d 70 |f cd 1) |into z.p|
|00001520| 75 74 20 66 6c 64 20 69 | 64 20 34 38 20 6f 66 20 |ut fld i|d 48 of |
|00001530| 63 64 20 31 20 69 6e 74 | 6f 20 74 6b 50 72 65 66 |cd 1 int|o tkPref|
|00001540| 73 0d 69 66 20 6c 69 6e | 65 20 35 20 6f 66 20 74 |s.if lin|e 5 of t|
|00001550| 6b 50 72 65 66 73 20 3d | 20 22 22 20 74 68 65 6e |kPrefs =| "" then|
|00001560| 20 6c 6f 61 64 50 72 65 | 66 73 0d 69 66 20 67 65 | loadPre|fs.if ge|
|00001570| 74 54 69 6d 65 64 4c 69 | 6e 65 28 29 20 ad 20 22 |tTimedLi|ne() . "|
|00001580| 22 20 74 68 65 6e 20 70 | 75 74 20 74 72 75 65 20 |" then p|ut true |
|00001590| 69 6e 74 6f 20 74 69 6d | 65 72 4f 6e 0d 73 74 61 |into tim|erOn.sta|
|000015a0| 72 74 53 74 75 66 66 0d | 64 69 73 61 62 6c 65 20 |rtStuff.|disable |
|000015b0| 6d 65 6e 75 49 74 65 6d | 20 34 20 6f 66 20 6d 65 |menuItem| 4 of me|
|000015c0| 6e 75 20 46 69 6c 65 0d | 64 69 73 61 62 6c 65 20 |nu File.|disable |
|000015d0| 6d 65 6e 75 49 74 65 6d | 20 37 20 6f 66 20 6d 65 |menuItem| 7 of me|
|000015e0| 6e 75 20 47 6f 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |nu Go.un|lock scr|
|000015f0| 65 65 6e 0d 65 6e 64 20 | 6f 70 65 6e 53 74 61 63 |een.end |openStac|
|00001600| 6b 0d 0d 6f 6e 20 72 65 | 73 75 6d 65 53 74 61 63 |k..on re|sumeStac|
|00001610| 6b 0d 67 6c 6f 62 61 6c | 20 62 67 69 64 2c 74 6b |k.global| bgid,tk|
|00001620| 50 72 65 66 73 2c 70 61 | 6c 48 69 0d 73 65 74 20 |Prefs,pa|lHi.set |
|00001630| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00001640| 73 74 61 72 74 53 74 75 | 66 66 0d 69 66 20 74 68 |startStu|ff.if th|
|00001650| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00001660| 22 73 65 63 74 4e 61 76 | 22 0d 74 68 65 6e 20 73 |"sectNav|".then s|
|00001670| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 64 42 75 |et the h|ilitedBu|
|00001680| 74 74 6f 6e 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |tton of |window "|
|00001690| 73 65 63 74 4e 61 76 22 | 20 74 6f 20 70 61 6c 48 |sectNav"| to palH|
|000016a0| 69 0d 73 65 74 20 74 68 | 65 20 63 61 6e 74 61 62 |i.set th|e cantab|
|000016b0| 6f 72 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ort of t|his stac|
|000016c0| 6b 20 74 6f 20 74 72 75 | 65 0d 70 75 74 20 66 6c |k to tru|e.put fl|
|000016d0| 64 20 69 64 20 34 38 20 | 6f 66 20 63 64 20 31 20 |d id 48 |of cd 1 |
|000016e0| 69 6e 74 6f 20 74 6b 50 | 72 65 66 73 0d 69 66 20 |into tkP|refs.if |
|000016f0| 62 67 69 64 20 ad 20 22 | 22 20 74 68 65 6e 20 73 |bgid . "|" then s|
|00001700| 65 6e 64 20 6f 70 65 6e | 42 61 63 6b 67 72 6f 75 |end open|Backgrou|
|00001710| 6e 64 20 74 6f 20 62 67 | 20 69 64 20 62 67 69 64 |nd to bg| id bgid|
|00001720| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 49 74 65 |.disable| menuIte|
|00001730| 6d 20 35 20 6f 66 20 6d | 65 6e 75 20 46 69 6c 65 |m 5 of m|enu File|
|00001740| 0d 65 6e 64 20 72 65 73 | 75 6d 65 53 74 61 63 6b |.end res|umeStack|
|00001750| 0d 0d 6f 6e 20 73 74 61 | 72 74 53 74 75 66 66 0d |..on sta|rtStuff.|
|00001760| 67 6c 6f 62 61 6c 20 62 | 67 69 64 2c 74 6b 50 72 |global b|gid,tkPr|
|00001770| 65 66 73 2c 73 74 61 72 | 74 4c 65 76 65 6c 2c 6d |efs,star|tLevel,m|
|00001780| 73 67 4c 6f 63 0d 6c 6f | 63 6b 20 73 63 72 65 65 |sgLoc.lo|ck scree|
|00001790| 6e 0d 70 75 74 20 74 68 | 65 20 75 73 65 72 4c 65 |n.put th|e userLe|
|000017a0| 76 65 6c 20 69 6e 74 6f | 20 73 74 61 72 74 4c 65 |vel into| startLe|
|000017b0| 76 65 6c 0d 70 75 74 20 | 6c 6f 63 20 6f 66 20 77 |vel.put |loc of w|
|000017c0| 69 6e 64 6f 77 20 22 6d | 65 73 73 61 67 65 22 20 |indow "m|essage" |
|000017d0| 69 6e 74 6f 20 6d 73 67 | 4c 6f 63 0d 69 66 20 74 |into msg|Loc.if t|
|000017e0| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 ad 20 64 |he optio|nKey . d|
|000017f0| 6f 77 6e 20 74 68 65 6e | 20 73 65 74 20 6c 6f 63 |own then| set loc|
|00001800| 20 6f 66 20 77 69 6e 64 | 6f 77 20 22 6d 65 73 73 | of wind|ow "mess|
|00001810| 61 67 65 22 20 74 6f 20 | 35 30 30 30 2c 35 30 30 |age" to |5000,500|
|00001820| 30 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |0.choose| browse |
|00001830| 74 6f 6f 6c 0d 68 69 64 | 65 20 73 63 72 6f 6c 6c |tool.hid|e scroll|
|00001840| 20 77 69 6e 64 6f 77 0d | 68 69 64 65 20 70 61 74 | window.|hide pat|
|00001850| 74 65 72 6e 20 77 69 6e | 64 6f 77 0d 68 69 64 65 |tern win|dow.hide|
|00001860| 20 74 6f 6f 6c 20 77 69 | 6e 64 6f 77 0d 73 65 74 | tool wi|ndow.set|
|00001870| 20 74 68 65 20 63 61 6e | 74 50 65 65 6b 20 6f 66 | the can|tPeek of|
|00001880| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 74 | this st|ack to t|
|00001890| 72 75 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |rue.if t|here is |
|000018a0| 61 20 6d 65 6e 75 20 22 | 4f 62 6a 65 63 74 73 22 |a menu "|Objects"|
|000018b0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|000018c0| 75 20 22 4f 62 6a 65 63 | 74 73 22 0d 69 66 20 74 |u "Objec|ts".if t|
|000018d0| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 22 |here is |a menu "|
|000018e0| 54 6f 6f 6c 73 22 20 74 | 68 65 6e 20 64 65 6c 65 |Tools" t|hen dele|
|000018f0| 74 65 20 6d 65 6e 75 20 | 22 54 6f 6f 6c 73 22 0d |te menu |"Tools".|
|00001900| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00001910| 6e 75 20 22 46 6f 6e 74 | 22 20 74 68 65 6e 20 64 |nu "Font|" then d|
|00001920| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 46 6f 6e 74 |elete me|nu "Font|
|00001930| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00001940| 6d 65 6e 75 20 22 53 74 | 79 6c 65 22 20 74 68 65 |menu "St|yle" the|
|00001950| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 22 53 |n delete| menu "S|
|00001960| 74 79 6c 65 22 0d 69 66 | 20 74 68 65 72 65 20 69 |tyle".if| there i|
|00001970| 73 20 61 20 6d 65 6e 75 | 20 22 47 6f 22 20 74 68 |s a menu| "Go" th|
|00001980| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00001990| 47 6f 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |Go".if t|here is |
|000019a0| 61 20 6d 65 6e 75 20 22 | 45 64 69 74 22 20 74 68 |a menu "|Edit" th|
|000019b0| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|000019c0| 45 64 69 74 22 0d 69 66 | 20 74 68 65 72 65 20 69 |Edit".if| there i|
|000019d0| 73 20 61 20 6d 65 6e 75 | 20 22 46 69 6c 65 22 20 |s a menu| "File" |
|000019e0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 6d 65 6e 75 |then del|ete menu|
|000019f0| 20 22 46 69 6c 65 22 0d | 73 65 74 20 74 68 65 20 | "File".|set the |
|00001a00| 75 73 65 72 4c 65 76 65 | 6c 20 74 6f 20 33 0d 74 |userLeve|l to 3.t|
|00001a10| 6b 4d 65 6e 75 73 20 62 | 75 69 6c 64 0d 73 68 6f |kMenus b|uild.sho|
|00001a20| 77 20 6d 65 6e 75 42 61 | 72 0d 70 75 74 20 22 41 |w menuBa|r.put "A|
|00001a30| 62 6f 75 74 20 54 69 6d | 65 43 61 63 68 65 22 20 |bout Tim|eCache" |
|00001a40| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 31 20 |into men|uItem 1 |
|00001a50| 6f 66 20 6d 65 6e 75 20 | 41 70 70 6c 65 0d 70 75 |of menu |Apple.pu|
|00001a60| 74 20 22 2d 2c 22 20 26 | 20 6c 69 6e 65 20 32 32 |t "-," &| line 22|
|00001a70| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 26 26 20 22 | of tkPr|efs && "|
|00001a80| 4e 61 76 69 67 61 74 6f | 72 22 20 61 66 74 65 72 |Navigato|r" after|
|00001a90| 20 6d 65 6e 75 20 47 6f | 0d 69 66 20 6c 69 6e 65 | menu Go|.if line|
|00001aa0| 20 32 32 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d | 22 of t|kPrefs =|
|00001ab0| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 22 48 69 | "" then| put "Hi|
|00001ac0| 64 65 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 32 32 |de" into| line 22|
|00001ad0| 20 6f 66 20 74 6b 50 72 | 65 66 73 0d 69 66 20 6c | of tkPr|efs.if l|
|00001ae0| 69 6e 65 20 32 32 20 6f | 66 20 74 6b 50 72 65 66 |ine 22 o|f tkPref|
|00001af0| 73 20 3d 20 22 48 69 64 | 65 22 20 74 68 65 6e 20 |s = "Hid|e" then |
|00001b00| 73 68 6f 77 54 4b 4e 61 | 76 0d 70 75 74 20 74 68 |showTKNa|v.put th|
|00001b10| 65 20 6c 6f 63 20 6f 66 | 20 63 61 72 64 20 77 69 |e loc of| card wi|
|00001b20| 6e 64 6f 77 20 69 6e 74 | 6f 20 6c 69 6e 65 20 32 |ndow int|o line 2|
|00001b30| 35 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 69 66 20 |5 of tkP|refs.if |
|00001b40| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00001b50| 6e 65 73 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b |nes in t|he stack|
|00001b60| 73 20 3e 20 31 20 74 68 | 65 6e 20 65 6e 61 62 6c |s > 1 th|en enabl|
|00001b70| 65 20 6d 65 6e 75 49 74 | 65 6d 20 32 20 6f 66 20 |e menuIt|em 2 of |
|00001b80| 6d 65 6e 75 20 46 69 6c | 65 0d 65 6c 73 65 20 64 |menu Fil|e.else d|
|00001b90| 69 73 61 62 6c 65 20 6d | 65 6e 75 49 74 65 6d 20 |isable m|enuItem |
|00001ba0| 32 20 6f 66 20 6d 65 6e | 75 20 46 69 6c 65 0d 75 |2 of men|u File.u|
|00001bb0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00001bc0| 20 73 74 61 72 74 53 74 | 75 66 66 0d 0d 6f 6e 20 | startSt|uff..on |
|00001bd0| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 67 6c 6f |suspendS|tack.glo|
|00001be0| 62 61 6c 20 62 67 69 64 | 0d 70 75 74 20 74 68 65 |bal bgid|.put the|
|00001bf0| 20 69 64 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 | id of t|his bg i|
|00001c00| 6e 74 6f 20 62 67 69 64 | 0d 63 6c 6f 73 65 53 74 |nto bgid|.closeSt|
|00001c10| 75 66 66 0d 70 61 73 73 | 20 73 75 73 70 65 6e 64 |uff.pass| suspend|
|00001c20| 53 74 61 63 6b 0d 65 6e | 64 20 73 75 73 70 65 6e |Stack.en|d suspen|
|00001c30| 64 53 74 61 63 6b 0d 0d | 6f 6e 20 63 6c 6f 73 65 |dStack..|on close|
|00001c40| 53 74 75 66 66 0d 67 6c | 6f 62 61 6c 20 73 74 61 |Stuff.gl|obal sta|
|00001c50| 72 74 4c 65 76 65 6c 2c | 74 6b 50 72 65 66 73 2c |rtLevel,|tkPrefs,|
|00001c60| 70 61 73 74 65 4d 6f 64 | 65 2c 62 67 69 64 2c 70 |pasteMod|e,bgid,p|
|00001c70| 61 6c 48 69 2c 6d 73 67 | 4c 6f 63 0d 73 65 74 20 |alHi,msg|Loc.set |
|00001c80| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00001c90| 69 66 20 70 61 73 74 65 | 4d 6f 64 65 20 3d 20 74 |if paste|Mode = t|
|00001ca0| 72 75 65 20 74 68 65 6e | 20 72 65 73 74 6f 72 65 |rue then| restore|
|00001cb0| 4d 6f 76 65 0d 69 66 20 | 74 68 65 72 65 20 69 73 |Move.if |there is|
|00001cc0| 20 61 20 77 69 6e 64 6f | 77 20 22 73 74 61 72 74 | a windo|w "start|
|00001cd0| 4d 6f 76 65 22 20 74 68 | 65 6e 20 63 6c 6f 73 65 |Move" th|en close|
|00001ce0| 20 77 69 6e 64 6f 77 20 | 22 73 74 61 72 74 4d 6f | window |"startMo|
|00001cf0| 76 65 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ve".if t|here is |
|00001d00| 61 20 77 69 6e 64 6f 77 | 20 22 64 6f 4d 6f 76 65 |a window| "doMove|
|00001d10| 22 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |" then c|lose win|
|00001d20| 64 6f 77 20 22 64 6f 4d | 6f 76 65 22 0d 70 75 74 |dow "doM|ove".put|
|00001d30| 20 6c 69 6e 65 20 32 32 | 20 6f 66 20 74 6b 50 72 | line 22| of tkPr|
|00001d40| 65 66 73 20 69 6e 74 6f | 20 6e 61 76 42 6f 6f 6c |efs into| navBool|
|00001d50| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00001d60| 69 6e 64 6f 77 20 22 73 | 65 63 74 4e 61 76 22 20 |indow "s|ectNav" |
|00001d70| 74 68 65 6e 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |then clo|se windo|
|00001d80| 77 20 22 73 65 63 74 4e | 61 76 22 0d 70 75 74 20 |w "sectN|av".put |
|00001d90| 6e 61 76 42 6f 6f 6c 20 | 69 6e 74 6f 20 6c 69 6e |navBool |into lin|
|00001da0| 65 20 32 32 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |e 22 of |tkPrefs.|
|00001db0| 70 72 65 66 53 65 74 0d | 69 66 20 74 68 65 72 65 |prefSet.|if there|
|00001dc0| 20 69 73 20 61 20 6d 65 | 6e 75 20 54 69 6d 65 43 | is a me|nu TimeC|
|00001dd0| 61 63 68 65 20 74 68 65 | 6e 20 54 4b 4d 65 6e 75 |ache the|n TKMenu|
|00001de0| 73 20 64 65 6c 65 74 65 | 0d 72 65 73 65 74 20 6d |s delete|.reset m|
|00001df0| 65 6e 75 42 61 72 0d 73 | 65 74 20 74 68 65 20 75 |enuBar.s|et the u|
|00001e00| 73 65 72 4c 65 76 65 6c | 20 74 6f 20 73 74 61 72 |serLevel| to star|
|00001e10| 74 4c 65 76 65 6c 0d 73 | 65 74 20 74 68 65 20 6c |tLevel.s|et the l|
|00001e20| 6f 63 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 4d 65 |oc of wi|ndow "Me|
|00001e30| 73 73 61 67 65 22 20 74 | 6f 20 6d 73 67 4c 6f 63 |ssage" t|o msgLoc|
|00001e40| 0d 65 6e 64 20 63 6c 6f | 73 65 53 74 75 66 66 0d |.end clo|seStuff.|
|00001e50| 0d 6f 6e 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 67 |.on clos|eStack.g|
|00001e60| 6c 6f 62 61 6c 20 62 67 | 69 64 2c 70 61 6c 48 69 |lobal bg|id,palHi|
|00001e70| 0d 69 66 20 66 72 65 65 | 53 69 7a 65 20 6f 66 20 |.if free|Size of |
|00001e80| 74 68 69 73 20 73 74 61 | 63 6b 20 3e 20 31 32 30 |this sta|ck > 120|
|00001e90| 30 30 20 74 68 65 6e 20 | 64 6f 4d 65 6e 75 20 22 |00 then |doMenu "|
|00001ea0| 43 6f 6d 70 61 63 74 20 | 53 74 61 63 6b 22 0d 63 |Compact |Stack".c|
|00001eb0| 6c 6f 73 65 53 74 75 66 | 66 0d 69 66 20 74 68 65 |loseStuf|f.if the|
|00001ec0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 66 6c 64 20 | visible| of fld |
|00001ed0| 69 64 20 35 38 20 6f 66 | 20 63 64 20 31 20 3d 20 |id 58 of| cd 1 = |
|00001ee0| 74 72 75 65 20 74 68 65 | 6e 20 68 69 64 65 48 65 |true the|n hideHe|
|00001ef0| 6c 70 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 62 |lp.put "|" into b|
|00001f00| 67 69 64 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |gid.put |"" into |
|00001f10| 70 61 6c 48 69 0d 65 6e | 64 20 63 6c 6f 73 65 53 |palHi.en|d closeS|
|00001f20| 74 61 63 6b 0d 0d 6f 6e | 20 64 65 6c 43 61 72 64 |tack..on| delCard|
|00001f30| 0d 67 6c 6f 62 61 6c 20 | 63 61 72 64 4e 75 6d 2c |.global |cardNum,|
|00001f40| 63 75 74 4c 69 6e 65 2c | 66 72 6f 6d 46 69 65 6c |cutLine,|fromFiel|
|00001f50| 64 2c 74 72 75 6e 63 46 | 69 65 6c 64 0d 69 66 20 |d,truncF|ield.if |
|00001f60| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 64 |the numb|er of cd|
|00001f70| 73 20 69 6e 20 74 68 69 | 73 20 62 67 20 3c 20 32 |s in thi|s bg < 2|
|00001f80| 20 6f 72 20 74 68 65 20 | 63 61 6e 74 64 65 6c 65 | or the |cantdele|
|00001f90| 74 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 3d 20 |te of th|is cd = |
|00001fa0| 74 72 75 65 20 74 68 65 | 6e 0d 62 65 65 70 20 6f |true the|n.beep o|
|00001fb0| 6e 65 0d 73 64 41 6c 65 | 72 74 20 22 53 6f 72 72 |ne.sdAle|rt "Sorr|
|00001fc0| 79 2c 20 79 6f 75 20 63 | 61 6e d5 74 20 64 65 6c |y, you c|an.t del|
|00001fd0| 65 74 65 20 74 68 69 73 | 20 63 61 72 64 21 22 0d |ete this| card!".|
|00001fe0| 65 78 69 74 20 64 65 6c | 43 61 72 64 0d 65 6e 64 |exit del|Card.end|
|00001ff0| 20 69 66 0d 62 65 65 70 | 0d 70 75 74 20 22 59 6f | if.beep|.put "Yo|
|00002000| 75 20 64 6f 6e d5 74 20 | 52 45 41 4c 4c 59 20 77 |u don.t |REALLY w|
|00002010| 61 6e 74 20 74 6f 20 64 | 65 73 74 72 6f 79 20 61 |ant to d|estroy a|
|00002020| 6c 6c 20 74 68 69 73 20 | 64 61 74 61 2c 20 44 4f |ll this |data, DO|
|00002030| 20 59 4f 55 3f 22 20 69 | 6e 74 6f 20 70 72 6f 6d | YOU?" i|nto prom|
|00002040| 70 74 0d 67 65 74 20 64 | 6f 44 4c 6f 67 28 31 36 |pt.get d|oDLog(16|
|00002050| 30 35 30 2c 70 72 6f 6d | 70 74 2c 22 22 2c 22 22 |050,prom|pt,"",""|
|00002060| 2c 22 22 2c 22 22 2c 22 | 22 2c 74 72 75 65 29 0d |,"","","|",true).|
|00002070| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|00002080| 3d 20 31 20 74 68 65 6e | 20 65 78 69 74 20 64 65 |= 1 then| exit de|
|00002090| 6c 43 61 72 64 0d 73 65 | 74 20 74 68 65 20 63 75 |lCard.se|t the cu|
|000020a0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 73 65 |rsor to |watch.se|
|000020b0| 74 20 6c 6f 63 6b 53 63 | 72 65 65 6e 20 74 6f 20 |t lockSc|reen to |
|000020c0| 74 72 75 65 0d 70 75 74 | 20 74 68 65 20 69 64 20 |true.put| the id |
|000020d0| 6f 66 20 74 68 69 73 20 | 62 67 20 69 6e 74 6f 20 |of this |bg into |
|000020e0| 63 75 72 42 47 0d 70 75 | 74 20 74 68 65 20 73 68 |curBG.pu|t the sh|
|000020f0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00002100| 20 63 64 20 69 6e 74 6f | 20 63 61 72 64 4e 61 6d | cd into| cardNam|
|00002110| 65 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 63 |e.if wor|d 1 of c|
|00002120| 61 72 64 4e 61 6d 65 20 | 3d 20 22 41 72 63 22 20 |ardName |= "Arc" |
|00002130| 74 68 65 6e 0d 70 75 74 | 20 35 32 20 69 6e 74 6f |then.put| 52 into|
|00002140| 20 66 72 6f 6d 46 69 65 | 6c 64 0d 70 75 74 20 34 | fromFie|ld.put 4|
|00002150| 37 20 69 6e 74 6f 20 74 | 72 75 6e 63 46 69 65 6c |7 into t|runcFiel|
|00002160| 64 0d 65 6c 73 65 0d 70 | 75 74 20 31 37 20 69 6e |d.else.p|ut 17 in|
|00002170| 74 6f 20 66 72 6f 6d 46 | 69 65 6c 64 0d 70 75 74 |to fromF|ield.put|
|00002180| 20 35 30 20 69 6e 74 6f | 20 74 72 75 6e 63 46 69 | 50 into| truncFi|
|00002190| 65 6c 64 0d 70 75 74 20 | 6f 66 66 73 65 74 28 73 |eld.put |offset(s|
|000021a0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000021b0| 73 20 63 64 2c 66 6c 64 | 20 69 64 20 35 31 20 6f |s cd,fld| id 51 o|
|000021c0| 66 20 63 64 20 31 29 20 | 69 6e 74 6f 20 6a 0d 72 |f cd 1) |into j.r|
|000021d0| 65 70 65 61 74 0d 69 66 | 20 6a 20 3d 20 30 20 74 |epeat.if| j = 0 t|
|000021e0| 68 65 6e 20 65 78 69 74 | 20 72 65 70 65 61 74 0d |hen exit| repeat.|
|000021f0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00002200| 66 20 6c 69 6e 65 73 20 | 69 6e 20 63 68 61 72 20 |f lines |in char |
|00002210| 31 20 74 6f 20 69 74 20 | 6f 66 20 66 6c 64 20 69 |1 to it |of fld i|
|00002220| 64 20 35 31 20 6f 66 20 | 63 64 20 31 20 69 6e 74 |d 51 of |cd 1 int|
|00002230| 6f 20 78 0d 73 65 6e 64 | 20 22 63 6c 65 61 72 4c |o x.send| "clearL|
|00002240| 69 6e 65 22 20 26 26 20 | 78 20 74 6f 20 63 64 20 |ine" && |x to cd |
|00002250| 31 0d 70 75 74 20 6a 20 | 2d 20 31 20 69 6e 74 6f |1.put j |- 1 into|
|00002260| 20 6a 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e | j.end r|epeat.en|
|00002270| 64 20 69 66 0d 67 65 74 | 20 69 74 65 6d 46 69 6e |d if.get| itemFin|
|00002280| 64 28 63 61 72 64 4e 61 | 6d 65 2c 66 6c 64 20 69 |d(cardNa|me,fld i|
|00002290| 64 20 66 72 6f 6d 46 69 | 65 6c 64 20 6f 66 20 63 |d fromFi|eld of c|
|000022a0| 64 20 31 2c 34 29 0d 69 | 66 20 69 74 20 ad 20 30 |d 1,4).i|f it . 0|
|000022b0| 20 74 68 65 6e 0d 64 65 | 6c 65 74 65 20 6c 69 6e | then.de|lete lin|
|000022c0| 65 20 69 74 20 6f 66 20 | 66 6c 64 20 69 64 20 66 |e it of |fld id f|
|000022d0| 72 6f 6d 46 69 65 6c 64 | 20 6f 66 20 63 64 20 31 |romField| of cd 1|
|000022e0| 0d 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 69 74 20 |.delete |line it |
|000022f0| 6f 66 20 66 6c 64 20 69 | 64 20 74 72 75 6e 63 46 |of fld i|d truncF|
|00002300| 69 65 6c 64 20 6f 66 20 | 63 64 20 31 0d 65 6e 64 |ield of |cd 1.end|
|00002310| 20 69 66 0d 67 6f 20 63 | 64 20 63 61 72 64 4e 61 | if.go c|d cardNa|
|00002320| 6d 65 0d 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |me.set t|he userL|
|00002330| 65 76 65 6c 20 74 6f 20 | 35 0d 73 65 74 20 6c 6f |evel to |5.set lo|
|00002340| 63 6b 4d 65 73 73 61 67 | 65 73 20 74 6f 20 74 72 |ckMessag|es to tr|
|00002350| 75 65 0d 64 6f 4d 65 6e | 75 20 22 43 75 74 20 43 |ue.doMen|u "Cut C|
|00002360| 61 72 64 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |ard".set| lockMes|
|00002370| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 73 |sages to| false.s|
|00002380| 65 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |et the u|serLevel|
|00002390| 20 74 6f 20 33 0d 67 6f | 20 63 64 20 31 20 6f 66 | to 3.go| cd 1 of|
|000023a0| 20 62 67 20 69 64 20 63 | 75 72 42 47 0d 73 65 74 | bg id c|urBG.set|
|000023b0| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|000023c0| 20 66 61 6c 73 65 0d 75 | 6e 6c 6f 63 6b 20 73 63 | false.u|nlock sc|
|000023d0| 72 65 65 6e 0d 65 6e 64 | 20 64 65 6c 43 61 72 64 |reen.end| delCard|
|000023e0| 0d 0d 6f 6e 20 64 6f 4d | 65 6e 75 20 78 0d 69 66 |..on doM|enu x.if|
|000023f0| 20 6f 66 66 73 65 74 28 | 22 51 75 69 74 22 2c 20 | offset(|"Quit", |
|00002400| 78 29 20 ad 20 30 20 74 | 68 65 6e 0d 67 6c 6f 62 |x) . 0 t|hen.glob|
|00002410| 61 6c 20 74 6b 50 72 65 | 66 73 2c 74 69 6d 65 72 |al tkPre|fs,timer|
|00002420| 4f 6e 0d 69 66 20 74 69 | 6d 65 72 4f 6e 20 3d 20 |On.if ti|merOn = |
|00002430| 74 72 75 65 20 74 68 65 | 6e 0d 67 65 74 20 64 6f |true the|n.get do|
|00002440| 44 6c 6f 67 28 34 36 39 | 35 2c 22 59 6f 75 d5 72 |Dlog(469|5,"You.r|
|00002450| 65 20 73 74 69 6c 6c 20 | 74 69 6d 69 6e 67 20 61 |e still |timing a|
|00002460| 20 6a 6f 62 2e 20 22 26 | 20 c2 0d 22 41 72 65 20 | job. "&| .."Are |
|00002470| 79 6f 75 20 73 75 72 65 | 20 79 6f 75 20 77 61 6e |you sure| you wan|
|00002480| 74 20 74 6f 20 65 78 69 | 74 20 54 69 6d 65 43 61 |t to exi|t TimeCa|
|00002490| 63 68 65 3f 22 29 0d 69 | 66 20 6c 69 6e 65 20 31 |che?").i|f line 1|
|000024a0| 20 6f 66 20 69 74 20 3d | 20 32 20 74 68 65 6e 20 | of it =| 2 then |
|000024b0| 65 78 69 74 20 74 6f 20 | 68 79 70 65 72 63 61 72 |exit to |hypercar|
|000024c0| 64 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 6c 69 6e |d.end if|.put lin|
|000024d0| 65 20 32 32 20 6f 66 20 | 74 6b 50 72 65 66 73 20 |e 22 of |tkPrefs |
|000024e0| 69 6e 74 6f 20 6e 61 76 | 42 6f 6f 6c 0d 69 66 20 |into nav|Bool.if |
|000024f0| 6e 61 76 42 6f 6f 6c 20 | 3d 20 22 48 69 64 65 22 |navBool |= "Hide"|
|00002500| 20 74 68 65 6e 20 68 69 | 64 65 54 4b 4e 61 76 0d | then hi|deTKNav.|
|00002510| 69 66 20 6f 66 66 73 65 | 74 28 22 54 69 6d 65 43 |if offse|t("TimeC|
|00002520| 61 63 68 65 22 2c 78 29 | 20 ad 20 30 20 74 68 65 |ache",x)| . 0 the|
|00002530| 6e 20 64 6f 4d 65 6e 75 | 20 22 51 75 69 74 20 48 |n doMenu| "Quit H|
|00002540| 79 70 65 72 43 61 72 64 | 22 0d 70 75 74 20 6e 61 |yperCard|".put na|
|00002550| 76 42 6f 6f 6c 20 69 6e | 74 6f 20 6c 69 6e 65 20 |vBool in|to line |
|00002560| 32 32 20 6f 66 20 74 6b | 50 72 65 66 73 0d 65 6c |22 of tk|Prefs.el|
|00002570| 73 65 20 69 66 20 78 20 | 3d 20 22 44 61 69 6c 79 |se if x |= "Daily|
|00002580| 20 4c 6f 67 22 20 74 68 | 65 6e 0d 67 6f 20 63 64 | Log" th|en.go cd|
|00002590| 20 31 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 | 1.exit |doMenu.e|
|000025a0| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 53 68 6f 77 |lse if x| = "Show|
|000025b0| 20 4e 61 76 69 67 61 74 | 6f 72 22 20 74 68 65 6e | Navigat|or" then|
|000025c0| 0d 73 68 6f 77 54 4b 4e | 61 76 0d 65 78 69 74 20 |.showTKN|av.exit |
|000025d0| 64 6f 4d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 78 |doMenu.e|lse if x|
|000025e0| 20 3d 20 22 48 69 64 65 | 20 4e 61 76 69 67 61 74 | = "Hide| Navigat|
|000025f0| 6f 72 22 20 74 68 65 6e | 0d 68 69 64 65 54 4b 4e |or" then|.hideTKN|
|00002600| 61 76 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |av.exit |doMenu.e|
|00002610| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 4a 6f 62 20 |lse if x| = "Job |
|00002620| 53 68 65 65 74 73 22 20 | 74 68 65 6e 0d 67 6f 20 |Sheets" |then.go |
|00002630| 62 67 20 69 64 20 35 34 | 34 39 0d 65 78 69 74 20 |bg id 54|49.exit |
|00002640| 64 6f 4d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 78 |doMenu.e|lse if x|
|00002650| 20 3d 20 22 41 72 63 68 | 69 76 65 22 20 74 68 65 | = "Arch|ive" the|
|00002660| 6e 0d 67 6f 20 62 67 20 | 69 64 20 34 37 31 37 0d |n.go bg |id 4717.|
|00002670| 65 78 69 74 20 64 6f 4d | 65 6e 75 0d 65 6c 73 65 |exit doM|enu.else|
|00002680| 20 69 66 20 78 20 3d 20 | 22 54 69 6d 65 73 68 65 | if x = |"Timeshe|
|00002690| 65 74 73 22 20 74 68 65 | 6e 0d 67 6f 20 6c 61 73 |ets" the|n.go las|
|000026a0| 74 20 63 64 0d 65 78 69 | 74 20 64 6f 4d 65 6e 75 |t cd.exi|t doMenu|
|000026b0| 0d 65 6c 73 65 20 69 66 | 20 78 20 3d 20 22 54 69 |.else if| x = "Ti|
|000026c0| 6d 65 43 61 63 68 65 20 | 48 65 6c 70 22 20 74 68 |meCache |Help" th|
|000026d0| 65 6e 20 68 65 6c 70 4d | 65 0d 65 6c 73 65 20 69 |en helpM|e.else i|
|000026e0| 66 20 78 20 3d 20 22 48 | 69 64 65 20 54 69 6d 65 |f x = "H|ide Time|
|000026f0| 43 61 63 68 65 22 20 74 | 68 65 6e 20 68 69 64 65 |Cache" t|hen hide|
|00002700| 54 4b 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |TK.else |if x = "|
|00002710| 53 75 6d 6d 61 72 79 20 | 52 65 70 6f 72 74 22 20 |Summary |Report" |
|00002720| 74 68 65 6e 0d 62 75 69 | 6c 64 53 75 6d 52 65 70 |then.bui|ldSumRep|
|00002730| 6f 72 74 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |ort.exit| doMenu.|
|00002740| 65 6c 73 65 20 69 66 20 | 78 20 3d 20 22 44 65 6c |else if |x = "Del|
|00002750| 65 74 65 20 50 72 6f 6a | 65 63 74 22 20 74 68 65 |ete Proj|ect" the|
|00002760| 6e 0d 64 65 6c 43 61 72 | 64 0d 65 78 69 74 20 64 |n.delCar|d.exit d|
|00002770| 6f 4d 65 6e 75 0d 65 6c | 73 65 20 69 66 20 78 20 |oMenu.el|se if x |
|00002780| 3d 20 22 46 69 6e 64 2e | 2e 2e 22 20 74 68 65 6e |= "Find.|.." then|
|00002790| 0d 64 6f 46 69 6e 64 0d | 65 78 69 74 20 64 6f 4d |.doFind.|exit doM|
|000027a0| 65 6e 75 0d 65 6c 73 65 | 20 69 66 20 78 20 3d 20 |enu.else| if x = |
|000027b0| 22 46 69 6e 64 20 41 67 | 61 69 6e 22 20 74 68 65 |"Find Ag|ain" the|
|000027c0| 6e 0d 66 69 6e 64 41 67 | 61 69 6e 0d 65 78 69 74 |n.findAg|ain.exit|
|000027d0| 20 64 6f 4d 65 6e 75 0d | 65 6c 73 65 20 69 66 20 | doMenu.|else if |
|000027e0| 78 20 3d 20 22 54 72 61 | 6e 73 66 65 72 20 57 61 |x = "Tra|nsfer Wa|
|000027f0| 72 6e 69 6e 67 73 22 20 | 74 68 65 6e 0d 73 65 74 |rnings" |then.set|
|00002800| 57 61 72 6e 69 6e 67 73 | 0d 65 78 69 74 20 64 6f |Warnings|.exit do|
|00002810| 4d 65 6e 75 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |Menu.els|e if x =|
|00002820| 20 22 41 75 74 6f 20 54 | 69 6d 65 73 68 65 65 74 | "Auto T|imesheet|
|00002830| 73 22 20 74 68 65 6e 0d | 73 65 74 41 75 74 6f 0d |s" then.|setAuto.|
|00002840| 65 78 69 74 20 64 6f 4d | 65 6e 75 0d 65 6c 73 65 |exit doM|enu.else|
|00002850| 20 69 66 20 78 20 3d 20 | 22 43 75 73 74 6f 6d 20 | if x = |"Custom |
|00002860| 4a 6f 62 20 46 69 65 6c | 64 22 20 74 68 65 6e 0d |Job Fiel|d" then.|
|00002870| 73 70 65 63 46 6c 64 53 | 65 74 75 70 0d 65 78 69 |specFldS|etup.exi|
|00002880| 74 20 64 6f 4d 65 6e 75 | 0d 65 6c 73 65 20 69 66 |t doMenu|.else if|
|00002890| 20 78 20 3d 20 22 4a 6f | 62 20 4e 75 6d 62 65 72 | x = "Jo|b Number|
|000028a0| 73 22 20 74 68 65 6e 0d | 73 65 74 4a 6f 62 4e 75 |s" then.|setJobNu|
|000028b0| 6d 0d 65 78 69 74 20 64 | 6f 4d 65 6e 75 0d 65 6c |m.exit d|oMenu.el|
|000028c0| 73 65 20 69 66 20 78 20 | 3d 20 22 48 6f 75 72 20 |se if x |= "Hour |
|000028d0| 44 69 76 69 73 69 6f 6e | 73 22 20 74 68 65 6e 0d |Division|s" then.|
|000028e0| 63 68 61 6e 67 65 54 69 | 6d 65 0d 65 78 69 74 20 |changeTi|me.exit |
|000028f0| 64 6f 4d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 78 |doMenu.e|lse if x|
|00002900| 20 3d 20 22 43 75 72 72 | 65 6e 63 79 20 53 65 74 | = "Curr|ency Set|
|00002910| 74 69 6e 67 73 22 20 74 | 68 65 6e 0d 73 65 74 43 |tings" t|hen.setC|
|00002920| 75 72 72 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |urr.exit| doMenu.|
|00002930| 65 6c 73 65 20 69 66 20 | 78 20 3d 20 22 52 65 70 |else if |x = "Rep|
|00002940| 6f 72 74 20 50 72 69 6e | 74 69 6e 67 20 46 6f 6e |ort Prin|ting Fon|
|00002950| 74 22 20 74 68 65 6e 0d | 73 65 74 50 72 69 6e 74 |t" then.|setPrint|
|00002960| 46 6f 6e 74 0d 65 78 69 | 74 20 64 6f 4d 65 6e 75 |Font.exi|t doMenu|
|00002970| 0d 65 6c 73 65 20 69 66 | 20 78 20 3d 20 22 4a 6f |.else if| x = "Jo|
|00002980| 62 20 45 78 70 6f 72 74 | 20 46 6f 72 6d 61 74 22 |b Export| Format"|
|00002990| 20 74 68 65 6e 0d 65 78 | 70 6f 72 74 46 6f 72 6d | then.ex|portForm|
|000029a0| 61 74 0d 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 65 |at.exit |doMenu.e|
|000029b0| 6c 73 65 20 69 66 20 78 | 20 3d 20 22 53 6b 69 70 |lse if x| = "Skip|
|000029c0| 20 57 65 65 6b 65 6e 64 | 73 22 20 74 68 65 6e 0d | Weekend|s" then.|
|000029d0| 73 65 74 57 6b 6e 64 73 | 0d 65 78 69 74 20 64 6f |setWknds|.exit do|
|000029e0| 4d 65 6e 75 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |Menu.els|e if x =|
|000029f0| 20 22 54 69 6d 65 72 20 | 4c 6f 67 67 69 6e 67 22 | "Timer |Logging"|
|00002a00| 20 74 68 65 6e 0d 73 65 | 74 4c 6f 67 67 69 6e 67 | then.se|tLogging|
|00002a10| 0d 65 78 69 74 20 64 6f | 4d 65 6e 75 0d 65 6c 73 |.exit do|Menu.els|
|00002a20| 65 20 69 66 20 78 20 3d | 20 22 50 72 69 6e 74 69 |e if x =| "Printi|
|00002a30| 6e 67 20 46 6f 6e 74 22 | 20 74 68 65 6e 0d 73 65 |ng Font"| then.se|
|00002a40| 74 50 72 69 6e 74 46 6f | 6e 74 0d 65 78 69 74 20 |tPrintFo|nt.exit |
|00002a50| 64 6f 4d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 78 |doMenu.e|lse if x|
|00002a60| 20 3d 20 22 4c 6f 6e 67 | 20 43 6f 6d 6d 65 6e 74 | = "Long| Comment|
|00002a70| 73 22 20 74 68 65 6e 0d | 73 65 74 43 6f 6d 6d 65 |s" then.|setComme|
|00002a80| 6e 74 73 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |nts.exit| doMenu.|
|00002a90| 65 6c 73 65 20 69 66 20 | 78 20 3d 20 22 50 72 6f |else if |x = "Pro|
|00002aa0| 74 65 63 74 20 53 74 61 | 63 6b 2e 2e 2e 22 20 74 |tect Sta|ck..." t|
|00002ab0| 68 65 6e 0d 69 66 20 6d | 73 67 20 ad 20 22 50 61 |hen.if m|sg . "Pa|
|00002ac0| 73 73 77 6f 72 64 22 20 | 74 68 65 6e 0d 65 78 69 |ssword" |then.exi|
|00002ad0| 74 20 64 6f 6d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |t domenu|.end if.|
|00002ae0| 65 6c 73 65 20 69 66 20 | 78 20 3d 20 22 50 61 67 |else if |x = "Pag|
|00002af0| 65 20 53 65 74 75 70 2e | 2e 2e 22 20 74 68 65 6e |e Setup.|.." then|
|00002b00| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 37 35 20 6f |.put fld| id 75 o|
|00002b10| 66 20 63 64 20 31 20 69 | 6e 74 6f 20 70 53 65 74 |f cd 1 i|nto pSet|
|00002b20| 75 70 0d 67 65 74 20 50 | 52 50 61 67 65 53 65 74 |up.get P|RPageSet|
|00002b30| 55 70 28 70 53 65 74 75 | 70 2c 66 61 6c 73 65 29 |Up(pSetu|p,false)|
|00002b40| 0d 69 66 20 66 69 72 73 | 74 20 77 6f 72 64 20 6f |.if firs|t word o|
|00002b50| 66 20 69 74 20 3d 20 22 | 45 52 52 4f 52 3a 22 20 |f it = "|ERROR:" |
|00002b60| 74 68 65 6e 0d 62 65 65 | 70 0d 73 64 41 6c 65 72 |then.bee|p.sdAler|
|00002b70| 74 20 69 74 0d 65 78 69 | 74 20 64 6f 4d 65 6e 75 |t it.exi|t doMenu|
|00002b80| 0d 65 6c 73 65 20 69 66 | 20 69 74 ad 22 63 61 6e |.else if| it."can|
|00002b90| 63 65 6c 22 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |cel" the|n.put it|
|00002ba0| 20 69 6e 74 6f 20 66 6c | 64 20 69 64 20 37 35 20 | into fl|d id 75 |
|00002bb0| 6f 66 20 63 64 20 31 0d | 65 6e 64 20 69 66 0d 65 |of cd 1.|end if.e|
|00002bc0| 78 69 74 20 64 6f 4d 65 | 6e 75 0d 65 6c 73 65 20 |xit doMe|nu.else |
|00002bd0| 69 66 20 6f 66 66 73 65 | 74 28 22 41 62 6f 75 74 |if offse|t("About|
|00002be0| 22 2c 78 29 20 ad 20 30 | 20 74 68 65 6e 0d 69 66 |",x) . 0| then.if|
|00002bf0| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 6f 66 20 | the vis|ible of |
|00002c00| 66 6c 64 20 69 64 20 35 | 37 20 6f 66 20 63 64 20 |fld id 5|7 of cd |
|00002c10| 31 20 3d 20 74 72 75 65 | 20 74 68 65 6e 20 65 78 |1 = true| then ex|
|00002c20| 69 74 20 64 6f 4d 65 6e | 75 0d 69 66 20 74 68 65 |it doMen|u.if the|
|00002c30| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 63 64 20 77 | visible| of cd w|
|00002c40| 69 6e 64 6f 77 20 3d 20 | 66 61 6c 73 65 20 74 68 |indow = |false th|
|00002c50| 65 6e 20 65 78 69 74 20 | 64 6f 4d 65 6e 75 0d 61 |en exit |doMenu.a|
|00002c60| 62 6f 75 74 4d 65 0d 65 | 78 69 74 20 64 6f 4d 65 |boutMe.e|xit doMe|
|00002c70| 6e 75 0d 65 6e 64 20 69 | 66 0d 70 61 73 73 20 64 |nu.end i|f.pass d|
|00002c80| 6f 4d 65 6e 75 0d 65 6e | 64 20 64 6f 4d 65 6e 75 |oMenu.en|d doMenu|
|00002c90| 0d 0d 6f 6e 20 66 69 6e | 64 54 69 6d 65 52 65 70 |..on fin|dTimeRep|
|00002ca0| 6f 72 74 0d 67 6c 6f 62 | 61 6c 20 74 6b 50 72 65 |ort.glob|al tkPre|
|00002cb0| 66 73 0d 61 6e 73 77 65 | 72 20 66 69 6c 65 20 22 |fs.answe|r file "|
|00002cc0| 57 68 65 72 65 20 69 73 | 20 74 68 65 20 d2 54 69 |Where is| the .Ti|
|00002cd0| 6d 65 20 52 65 70 6f 72 | 74 d3 20 66 69 6c 65 3f |me Repor|t. file?|
|00002ce0| 22 0d 69 66 20 69 74 20 | 3d 20 22 22 20 74 68 65 |".if it |= "" the|
|00002cf0| 6e 20 65 78 69 74 20 74 | 6f 20 68 79 70 65 72 63 |n exit t|o hyperc|
|00002d00| 61 72 64 0d 69 66 20 6f | 66 66 73 65 74 28 22 54 |ard.if o|ffset("T|
|00002d10| 69 6d 65 20 52 65 70 6f | 72 74 22 2c 69 74 29 20 |ime Repo|rt",it) |
|00002d20| 3d 20 30 20 74 68 65 6e | 0d 70 75 74 20 22 41 72 |= 0 then|.put "Ar|
|00002d30| 65 20 79 6f 75 20 73 75 | 72 65 20 74 68 69 73 20 |e you su|re this |
|00002d40| 69 73 20 61 20 d2 54 69 | 6d 65 20 52 65 70 6f 72 |is a .Ti|me Repor|
|00002d50| 74 d3 20 66 69 6c 65 3f | 22 20 69 6e 74 6f 20 70 |t. file?|" into p|
|00002d60| 72 6f 6d 70 74 0d 67 65 | 74 20 64 6f 44 4c 6f 67 |rompt.ge|t doDLog|
|00002d70| 28 34 30 35 30 2c 70 72 | 6f 6d 70 74 2c 22 22 2c |(4050,pr|ompt,"",|
|00002d80| 22 22 2c 22 22 2c 22 22 | 2c 22 22 2c 74 72 75 65 |"","",""|,"",true|
|00002d90| 29 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 69 |).if lin|e 1 of i|
|00002da0| 74 20 3d 20 31 20 74 68 | 65 6e 20 65 78 69 74 20 |t = 1 th|en exit |
|00002db0| 74 6f 20 68 79 70 65 72 | 63 61 72 64 0d 65 6e 64 |to hyper|card.end|
|00002dc0| 20 69 66 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 | if.put |it into |
|00002dd0| 6c 69 6e 65 20 31 35 20 | 6f 66 20 74 6b 50 72 65 |line 15 |of tkPre|
|00002de0| 66 73 0d 70 72 65 66 53 | 65 74 0d 65 6e 64 20 66 |fs.prefS|et.end f|
|00002df0| 69 6e 64 54 69 6d 65 52 | 65 70 6f 72 74 0d 0d 66 |indTimeR|eport..f|
|00002e00| 75 6e 63 74 69 6f 6e 20 | 63 6f 6e 76 65 72 74 44 |unction |convertD|
|00002e10| 61 74 65 20 69 6e 44 61 | 74 65 0d 63 6f 6e 76 65 |ate inDa|te.conve|
|00002e20| 72 74 20 69 6e 44 61 74 | 65 20 74 6f 20 73 65 63 |rt inDat|e to sec|
|00002e30| 6f 6e 64 73 0d 72 65 74 | 75 72 6e 20 69 6e 44 61 |onds.ret|urn inDa|
|00002e40| 74 65 0d 65 6e 64 20 63 | 6f 6e 76 65 72 74 44 61 |te.end c|onvertDa|
|00002e50| 74 65 0d 0d 6f 6e 20 73 | 73 52 70 74 0d 67 6c 6f |te..on s|sRpt.glo|
|00002e60| 62 61 6c 20 74 6f 64 61 | 79 2c 74 65 78 74 2c 72 |bal toda|y,text,r|
|00002e70| 4e 61 6d 65 2c 6c 6e 73 | 2c 72 46 69 6c 65 0d 69 |Name,lns|,rFile.i|
|00002e80| 66 20 66 6c 64 20 69 64 | 20 32 20 3d 20 22 22 20 |f fld id| 2 = "" |
|00002e90| 74 68 65 6e 20 65 78 69 | 74 20 73 73 52 70 74 0d |then exi|t ssRpt.|
|00002ea0| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 74 65 78 74 |put "" i|nto text|
|00002eb0| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 34 34 20 26 |.put fld| id 44 &|
|00002ec0| 20 22 2f 22 20 26 20 66 | 6c 64 20 69 64 20 39 20 | "/" & f|ld id 9 |
|00002ed0| 26 20 22 20 45 78 70 6f | 72 74 22 20 69 6e 74 6f |& " Expo|rt" into|
|00002ee0| 20 72 4e 61 6d 65 0d 70 | 75 74 20 74 68 65 20 64 | rName.p|ut the d|
|00002ef0| 61 74 65 20 69 6e 74 6f | 20 74 6f 64 61 79 0d 67 |ate into| today.g|
|00002f00| 65 74 20 67 65 74 52 44 | 61 74 65 73 28 22 45 78 |et getRD|ates("Ex|
|00002f10| 70 6f 72 74 22 29 0d 69 | 66 20 69 74 20 3d 20 22 |port").i|f it = "|
|00002f20| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 20 65 78 69 |Cancel" |then exi|
|00002f30| 74 20 73 73 52 70 74 0d | 70 75 74 20 74 68 65 20 |t ssRpt.|put the |
|00002f40| 6e 75 6d 62 65 72 20 6f | 66 20 6c 69 6e 65 73 20 |number o|f lines |
|00002f50| 69 6e 20 66 6c 64 20 69 | 64 20 32 20 69 6e 74 6f |in fld i|d 2 into|
|00002f60| 20 6c 6e 73 0d 58 4c 52 | 65 70 6f 72 74 20 6c 69 | lns.XLR|eport li|
|00002f70| 6e 65 20 31 20 6f 66 20 | 69 74 2c 6c 69 6e 65 20 |ne 1 of |it,line |
|00002f80| 32 20 6f 66 20 69 74 0d | 65 6e 64 20 73 73 52 70 |2 of it.|end ssRp|
|00002f90| 74 0d 0d 6f 6e 20 66 6c | 6d 52 70 74 0d 67 6c 6f |t..on fl|mRpt.glo|
|00002fa0| 62 61 6c 20 74 6f 64 61 | 79 2c 70 2c 74 65 78 74 |bal toda|y,p,text|
|00002fb0| 2c 72 4e 61 6d 65 2c 66 | 6d 44 61 74 65 73 0d 69 |,rName,f|mDates.i|
|00002fc0| 66 20 66 6c 64 20 69 64 | 20 32 20 3d 20 22 22 20 |f fld id| 2 = "" |
|00002fd0| 74 68 65 6e 20 65 78 69 | 74 20 66 6c 6d 52 70 74 |then exi|t flmRpt|
|00002fe0| 0d 70 75 74 20 66 6c 64 | 20 69 64 20 34 34 20 26 |.put fld| id 44 &|
|00002ff0| 20 22 2f 22 20 26 20 66 | 6c 64 20 69 64 20 39 20 | "/" & f|ld id 9 |
|00003000| 26 20 22 20 45 78 70 6f | 72 74 22 20 69 6e 74 6f |& " Expo|rt" into|
|00003010| 20 72 4e 61 6d 65 0d 67 | 65 74 20 67 65 74 52 44 | rName.g|et getRD|
|00003020| 61 74 65 73 28 22 45 78 | 70 6f 72 74 22 29 0d 69 |ates("Ex|port").i|
|00003030| 66 20 69 74 20 3d 20 22 | 43 61 6e 63 65 6c 22 20 |f it = "|Cancel" |
|00003040| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 68 79 70 |then exi|t to hyp|
|00003050| 65 72 63 61 72 64 0d 70 | 75 74 20 66 44 61 74 65 |ercard.p|ut fDate|
|00003060| 73 28 66 6c 64 20 69 64 | 20 32 2c 6c 69 6e 65 20 |s(fld id| 2,line |
|00003070| 31 20 6f 66 20 69 74 2c | 6c 69 6e 65 20 32 20 6f |1 of it,|line 2 o|
|00003080| 66 20 69 74 29 20 69 6e | 74 6f 20 66 6d 44 61 74 |f it) in|to fmDat|
|00003090| 65 73 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |es.put n|umber of|
|000030a0| 20 6c 69 6e 65 73 20 69 | 6e 20 66 6d 44 61 74 65 | lines i|n fmDate|
|000030b0| 73 20 69 6e 74 6f 20 6c | 6e 73 0d 69 66 20 6c 6e |s into l|ns.if ln|
|000030c0| 73 20 3e 20 33 36 20 74 | 68 65 6e 20 67 65 74 20 |s > 36 t|hen get |
|000030d0| 66 61 74 52 65 70 6f 72 | 74 28 6c 6e 73 29 0d 69 |fatRepor|t(lns).i|
|000030e0| 66 20 69 74 20 3d 20 22 | 43 61 6e 63 65 6c 22 20 |f it = "|Cancel" |
|000030f0| 74 68 65 6e 20 65 78 69 | 74 20 66 6c 6d 52 70 74 |then exi|t flmRpt|
|00003100| 0d 70 75 74 20 74 68 65 | 20 64 61 74 65 20 69 6e |.put the| date in|
|00003110| 74 6f 20 74 6f 64 61 79 | 0d 70 75 74 20 74 68 65 |to today|.put the|
|00003120| 20 6e 75 6d 54 6f 43 68 | 61 72 20 6f 66 20 32 39 | numToCh|ar of 29|
|00003130| 20 69 6e 74 6f 20 70 0d | 46 4d 52 65 70 6f 72 74 | into p.|FMReport|
|00003140| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 2c 6c 69 | line 1 |of it,li|
|00003150| 6e 65 20 32 20 6f 66 20 | 69 74 0d 65 6e 64 20 66 |ne 2 of |it.end f|
|00003160| 6c 6d 52 70 74 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |lmRpt..f|unction |
|00003170| 66 61 74 52 65 70 6f 72 | 74 20 6c 6e 73 0d 70 75 |fatRepor|t lns.pu|
|00003180| 74 20 22 59 6f 75 20 68 | 61 76 65 22 20 26 26 20 |t "You h|ave" && |
|00003190| 6c 6e 73 20 26 26 20 22 | 6c 69 6e 65 73 20 69 6e |lns && "|lines in|
|000031a0| 20 74 68 69 73 20 72 65 | 70 6f 72 74 2e 20 54 68 | this re|port. Th|
|000031b0| 65 20 d2 54 69 6d 65 20 | 52 65 70 6f 72 74 d3 20 |e .Time |Report. |
|000031c0| 74 65 6d 70 6c 61 74 65 | 20 68 6f 6c 64 73 20 33 |template| holds 3|
|000031d0| 36 2e 20 44 6f 20 79 6f | 75 20 73 74 69 6c 6c 20 |6. Do yo|u still |
|000031e0| 77 61 6e 74 20 74 6f 20 | 70 72 6f 63 65 65 64 3f |want to |proceed?|
|000031f0| 22 20 69 6e 74 6f 20 70 | 72 6f 6d 70 74 0d 67 65 |" into p|rompt.ge|
|00003200| 74 20 64 6f 44 4c 6f 67 | 28 34 36 39 35 2c 70 72 |t doDLog|(4695,pr|
|00003210| 6f 6d 70 74 29 0d 69 66 | 20 6c 69 6e 65 20 31 20 |ompt).if| line 1 |
|00003220| 6f 66 20 69 74 20 3d 20 | 32 20 74 68 65 6e 20 72 |of it = |2 then r|
|00003230| 65 74 75 72 6e 20 22 43 | 61 6e 63 65 6c 22 0d 65 |eturn "C|ancel".e|
|00003240| 6e 64 20 66 61 74 52 65 | 70 6f 72 74 0d 0d 6f 6e |nd fatRe|port..on|
|00003250| 20 73 65 74 4a 6f 62 4e | 75 6d 0d 67 6c 6f 62 61 | setJobN|um.globa|
|00003260| 6c 20 74 6b 50 72 65 66 | 73 0d 69 66 20 6c 69 6e |l tkPref|s.if lin|
|00003270| 65 20 35 20 6f 66 20 74 | 6b 50 72 65 66 73 20 3d |e 5 of t|kPrefs =|
|00003280| 20 22 4d 61 6e 75 61 6c | 22 20 74 68 65 6e 20 70 | "Manual|" then p|
|00003290| 75 74 20 37 20 69 6e 74 | 6f 20 72 0d 65 6c 73 65 |ut 7 int|o r.else|
|000032a0| 20 70 75 74 20 36 20 69 | 6e 74 6f 20 72 0d 69 66 | put 6 i|nto r.if|
|000032b0| 20 72 20 3d 20 36 20 74 | 68 65 6e 0d 69 66 20 66 | r = 6 t|hen.if f|
|000032c0| 6c 64 20 69 64 20 39 20 | 6f 66 20 63 64 20 31 20 |ld id 9 |of cd 1 |
|000032d0| 3d 20 22 22 20 74 68 65 | 6e 20 70 75 74 20 22 31 |= "" the|n put "1|
|000032e0| 30 30 31 22 20 69 6e 74 | 6f 20 6e 0d 65 6c 73 65 |001" int|o n.else|
|000032f0| 20 70 75 74 20 66 6c 64 | 20 69 64 20 39 20 69 6e | put fld| id 9 in|
|00003300| 74 6f 20 6e 0d 65 6c 73 | 65 20 70 75 74 20 22 22 |to n.els|e put ""|
|00003310| 20 69 6e 74 6f 20 6e 0d | 67 65 74 20 64 6f 44 6c | into n.|get doDl|
|00003320| 6f 67 28 34 37 34 35 2c | 2c 2c 6e 2c 2c 72 29 0d |og(4745,|,,n,,r).|
|00003330| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 69 74 20 |if line |1 of it |
|00003340| 3d 20 32 20 74 68 65 6e | 20 65 78 69 74 20 73 65 |= 2 then| exit se|
|00003350| 74 4a 6f 62 4e 75 6d 0d | 69 66 20 6c 69 6e 65 20 |tJobNum.|if line |
|00003360| 33 20 6f 66 20 69 74 20 | 3d 20 37 20 74 68 65 6e |3 of it |= 7 then|
|00003370| 20 70 75 74 20 22 4d 61 | 6e 75 61 6c 22 20 69 6e | put "Ma|nual" in|
|00003380| 74 6f 20 6c 69 6e 65 20 | 35 20 6f 66 20 74 6b 50 |to line |5 of tkP|
|00003390| 72 65 66 73 0d 65 6c 73 | 65 0d 70 75 74 20 22 41 |refs.els|e.put "A|
|000033a0| 75 74 6f 6d 61 74 69 63 | 22 20 69 6e 74 6f 20 6c |utomatic|" into l|
|000033b0| 69 6e 65 20 35 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 5 of| tkPrefs|
|000033c0| 0d 69 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 |.if line| 2 of it|
|000033d0| 20 ad 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 6c | . "" th|en.put l|
|000033e0| 69 6e 65 20 32 20 6f 66 | 20 69 74 20 69 6e 74 6f |ine 2 of| it into|
|000033f0| 20 6e 0d 70 75 74 20 63 | 68 65 63 6b 4e 75 6d 62 | n.put c|heckNumb|
|00003400| 65 72 28 6e 29 20 69 6e | 74 6f 20 6e 0d 69 66 20 |er(n) in|to n.if |
|00003410| 6e 20 3d 20 72 65 64 6f | 20 74 68 65 6e 0d 73 65 |n = redo| then.se|
|00003420| 74 4a 6f 62 4e 75 6d 0d | 65 78 69 74 20 73 65 74 |tJobNum.|exit set|
|00003430| 4a 6f 62 4e 75 6d 0d 65 | 6e 64 20 69 66 0d 70 75 |JobNum.e|nd if.pu|
|00003440| 74 20 72 6f 75 6e 64 28 | 6e 29 20 69 6e 74 6f 20 |t round(|n) into |
|00003450| 66 6c 64 20 69 64 20 39 | 20 6f 66 20 63 64 20 31 |fld id 9| of cd 1|
|00003460| 0d 65 6e 64 20 69 66 0d | 70 72 65 66 53 65 74 0d |.end if.|prefSet.|
|00003470| 65 6e 64 20 69 66 0d 65 | 6e 64 20 73 65 74 4a 6f |end if.e|nd setJo|
|00003480| 62 4e 75 6d 0d 0d 6f 6e | 20 63 68 61 6e 67 65 54 |bNum..on| changeT|
|00003490| 69 6d 65 0d 67 6c 6f 62 | 61 6c 20 74 6b 50 72 65 |ime.glob|al tkPre|
|000034a0| 66 73 0d 69 66 20 6c 69 | 6e 65 20 36 20 6f 66 20 |fs.if li|ne 6 of |
|000034b0| 74 6b 50 72 65 66 73 20 | 3d 20 31 30 20 74 68 65 |tkPrefs |= 10 the|
|000034c0| 6e 20 70 75 74 20 35 20 | 69 6e 74 6f 20 61 0d 65 |n put 5 |into a.e|
|000034d0| 6c 73 65 20 70 75 74 20 | 34 20 69 6e 74 6f 20 61 |lse put |4 into a|
|000034e0| 0d 67 65 74 20 64 6f 44 | 6c 6f 67 28 32 39 39 35 |.get doD|log(2995|
|000034f0| 38 2c 2c 2c 2c 2c 61 29 | 0d 69 66 20 6c 69 6e 65 |8,,,,,a)|.if line|
|00003500| 20 31 20 6f 66 20 69 74 | 20 3d 20 32 20 74 68 65 | 1 of it| = 2 the|
|00003510| 6e 20 65 78 69 74 20 63 | 68 61 6e 67 65 54 69 6d |n exit c|hangeTim|
|00003520| 65 0d 69 66 20 6c 69 6e | 65 20 32 20 6f 66 20 69 |e.if lin|e 2 of i|
|00003530| 74 20 3d 20 34 20 74 68 | 65 6e 20 70 75 74 20 34 |t = 4 th|en put 4|
|00003540| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 36 20 6f 66 20 | into li|ne 6 of |
|00003550| 74 6b 50 72 65 66 73 0d | 65 6c 73 65 20 70 75 74 |tkPrefs.|else put|
|00003560| 20 31 30 20 69 6e 74 6f | 20 6c 69 6e 65 20 36 20 | 10 into| line 6 |
|00003570| 6f 66 20 74 6b 50 72 65 | 66 73 0d 70 72 65 66 53 |of tkPre|fs.prefS|
|00003580| 65 74 0d 65 6e 64 20 63 | 68 61 6e 67 65 54 69 6d |et.end c|hangeTim|
|00003590| 65 0d 0d 6f 6e 20 73 65 | 74 57 61 72 6e 69 6e 67 |e..on se|tWarning|
|000035a0| 73 0d 67 6c 6f 62 61 6c | 20 74 6b 50 72 65 66 73 |s.global| tkPrefs|
|000035b0| 0d 69 66 20 6c 69 6e 65 | 20 37 20 6f 66 20 74 6b |.if line| 7 of tk|
|000035c0| 50 72 65 66 73 20 3d 20 | 22 54 72 75 65 22 20 74 |Prefs = |"True" t|
|000035d0| 68 65 6e 20 70 75 74 20 | 34 20 69 6e 74 6f 20 72 |hen put |4 into r|
|000035e0| 0d 65 6c 73 65 20 70 75 | 74 20 35 20 69 6e 74 6f |.else pu|t 5 into|
|000035f0| 20 72 0d 69 66 20 72 20 | 3d 20 34 20 74 68 65 6e | r.if r |= 4 then|
|00003600| 20 70 75 74 20 6c 69 6e | 65 20 38 20 6f 66 20 74 | put lin|e 8 of t|
|00003610| 6b 50 72 65 66 73 20 69 | 6e 74 6f 20 6d 69 6e 0d |kPrefs i|nto min.|
|00003620| 65 6c 73 65 20 70 75 74 | 20 22 22 20 69 6e 74 6f |else put| "" into|
|00003630| 20 6d 69 6e 0d 67 65 74 | 20 64 6f 44 6c 6f 67 20 | min.get| doDlog |
|00003640| 28 31 32 39 30 2c 22 57 | 61 72 6e 20 6d 65 20 69 |(1290,"W|arn me i|
|00003650| 66 20 49 20 68 61 76 65 | 20 6c 65 73 73 20 74 68 |f I have| less th|
|00003660| 61 6e 3a 22 2c 22 68 6f | 75 72 73 2e 22 2c 6d 69 |an:","ho|urs.",mi|
|00003670| 6e 2c 22 22 2c 72 29 0d | 69 66 20 6c 69 6e 65 20 |n,"",r).|if line |
|00003680| 31 20 6f 66 20 69 74 20 | 3d 20 32 20 74 68 65 6e |1 of it |= 2 then|
|00003690| 20 65 78 69 74 20 73 65 | 74 57 61 72 6e 69 6e 67 | exit se|tWarning|
|000036a0| 73 0d 69 66 20 6c 69 6e | 65 20 33 20 6f 66 20 69 |s.if lin|e 3 of i|
|000036b0| 74 20 ad 20 34 20 6f 72 | 20 6c 69 6e 65 20 32 20 |t . 4 or| line 2 |
|000036c0| 6f 66 20 69 74 20 3d 20 | 22 22 20 74 68 65 6e 20 |of it = |"" then |
|000036d0| 70 75 74 20 22 66 61 6c | 73 65 22 20 69 6e 74 6f |put "fal|se" into|
|000036e0| 20 6c 69 6e 65 20 37 20 | 6f 66 20 74 6b 50 72 65 | line 7 |of tkPre|
|000036f0| 66 73 0d 65 6c 73 65 0d | 70 75 74 20 6c 69 6e 65 |fs.else.|put line|
|00003700| 20 32 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 6e 0d | 2 of it| into n.|
|00003710| 70 75 74 20 63 68 65 63 | 6b 4e 75 6d 62 65 72 28 |put chec|kNumber(|
|00003720| 6e 29 20 69 6e 74 6f 20 | 6e 0d 69 66 20 6e 20 3d |n) into |n.if n =|
|00003730| 20 72 65 64 6f 20 74 68 | 65 6e 0d 73 65 74 57 61 | redo th|en.setWa|
|00003740| 72 6e 69 6e 67 73 0d 65 | 78 69 74 20 73 65 74 57 |rnings.e|xit setW|
|00003750| 61 72 6e 69 6e 67 73 0d | 65 6e 64 20 69 66 0d 70 |arnings.|end if.p|
|00003760| 75 74 20 22 74 72 75 65 | 22 20 69 6e 74 6f 20 6c |ut "true|" into l|
|00003770| 69 6e 65 20 37 20 6f 66 | 20 74 6b 50 72 65 66 73 |ine 7 of| tkPrefs|
|00003780| 0d 70 75 74 20 6e 20 69 | 6e 74 6f 20 6c 69 6e 65 |.put n i|nto line|
|00003790| 20 38 20 6f 66 20 74 6b | 50 72 65 66 73 0d 65 6e | 8 of tk|Prefs.en|
|000037a0| 64 20 69 66 0d 70 72 65 | 66 53 65 74 0d 65 6e 64 |d if.pre|fSet.end|
|000037b0| 20 73 65 74 57 61 72 6e | 69 6e 67 73 0d 0d 6f 6e | setWarn|ings..on|
|000037c0| 20 73 70 65 63 46 6c 64 | 53 65 74 75 70 0d 67 6c | specFld|Setup.gl|
|000037d0| 6f 62 61 6c 20 74 6b 50 | 72 65 66 73 0d 70 75 74 |obal tkP|refs.put|
|000037e0| 20 74 68 65 20 73 68 6f | 72 74 20 69 64 20 6f 66 | the sho|rt id of|
|000037f0| 20 63 64 20 31 20 6f 66 | 20 62 67 20 41 72 63 68 | cd 1 of| bg Arch|
|00003800| 69 76 65 20 69 6e 74 6f | 20 61 0d 70 75 74 20 74 |ive into| a.put t|
|00003810| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 63 |he short| id of c|
|00003820| 64 20 31 20 6f 66 20 62 | 67 20 69 64 20 36 31 38 |d 1 of b|g id 618|
|00003830| 32 20 69 6e 74 6f 20 62 | 0d 70 75 74 20 74 68 65 |2 into b|.put the|
|00003840| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 63 64 20 | short i|d of cd |
|00003850| 31 20 6f 66 20 62 67 20 | 69 64 20 35 34 34 39 20 |1 of bg |id 5449 |
|00003860| 69 6e 74 6f 20 63 0d 69 | 66 20 6c 69 6e 65 20 39 |into c.i|f line 9|
|00003870| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 3d 20 22 54 | of tkPr|efs = "T|
|00003880| 72 75 65 22 20 74 68 65 | 6e 20 70 75 74 20 35 20 |rue" the|n put 5 |
|00003890| 69 6e 74 6f 20 72 0d 65 | 6c 73 65 20 70 75 74 20 |into r.e|lse put |
|000038a0| 36 20 69 6e 74 6f 20 72 | 0d 67 65 74 20 64 6f 44 |6 into r|.get doD|
|000038b0| 6c 6f 67 28 34 37 34 33 | 2c 22 50 72 6f 6d 70 74 |log(4743|,"Prompt|
|000038c0| 20 73 74 72 69 6e 67 3a | 22 2c 22 46 69 65 6c 64 | string:|","Field|
|000038d0| 20 6c 61 62 65 6c 3a 22 | 2c 6c 69 6e 65 20 31 30 | label:"|,line 10|
|000038e0| 20 6f 66 20 74 6b 50 72 | 65 66 73 2c 6c 69 6e 65 | of tkPr|efs,line|
|000038f0| 20 31 31 20 6f 66 20 74 | 6b 50 72 65 66 73 2c 72 | 11 of t|kPrefs,r|
|00003900| 29 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 69 |).if lin|e 1 of i|
|00003910| 74 20 3d 20 32 20 74 68 | 65 6e 20 65 78 69 74 20 |t = 2 th|en exit |
|00003920| 73 70 65 63 46 6c 64 53 | 65 74 75 70 0d 69 66 20 |specFldS|etup.if |
|00003930| 6c 69 6e 65 20 34 20 6f | 66 20 69 74 20 3d 20 36 |line 4 o|f it = 6|
|00003940| 20 6f 72 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 | or line| 2 of it|
|00003950| 20 3d 20 22 22 20 6f 72 | 20 6c 69 6e 65 20 33 20 | = "" or| line 3 |
|00003960| 6f 66 20 69 74 20 3d 20 | 22 22 20 74 68 65 6e 0d |of it = |"" then.|
|00003970| 70 75 74 20 22 66 61 6c | 73 65 22 20 69 6e 74 6f |put "fal|se" into|
|00003980| 20 6c 69 6e 65 20 39 20 | 6f 66 20 74 6b 50 72 65 | line 9 |of tkPre|
|00003990| 66 73 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 6c |fs.put "|" into l|
|000039a0| 69 6e 65 20 31 30 20 6f | 66 20 74 6b 50 72 65 66 |ine 10 o|f tkPref|
|000039b0| 73 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 6c 69 |s.put ""| into li|
|000039c0| 6e 65 20 31 31 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 11 of| tkPrefs|
|000039d0| 0d 68 69 64 65 20 66 6c | 64 20 69 64 20 31 30 20 |.hide fl|d id 10 |
|000039e0| 6f 66 20 63 64 20 69 64 | 20 63 0d 68 69 64 65 20 |of cd id| c.hide |
|000039f0| 66 6c 64 20 69 64 20 31 | 30 20 6f 66 20 63 64 20 |fld id 1|0 of cd |
|00003a00| 69 64 20 61 0d 68 69 64 | 65 20 66 6c 64 20 69 64 |id a.hid|e fld id|
|00003a10| 20 39 20 6f 66 20 63 64 | 20 69 64 20 62 0d 73 65 | 9 of cd| id b.se|
|00003a20| 74 20 6e 61 6d 65 20 6f | 66 20 62 67 20 62 74 6e |t name o|f bg btn|
|00003a30| 20 69 64 20 34 36 20 6f | 66 20 63 64 20 69 64 20 | id 46 o|f cd id |
|00003a40| 63 20 74 6f 20 22 22 20 | 2d 2d 20 66 69 65 6c 64 |c to "" |-- field|
|00003a50| 20 6c 61 62 65 6c 0d 73 | 65 74 20 6e 61 6d 65 20 | label.s|et name |
|00003a60| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 34 36 20 |of bg bt|n id 46 |
|00003a70| 6f 66 20 63 64 20 69 64 | 20 61 20 74 6f 20 22 22 |of cd id| a to ""|
|00003a80| 20 2d 2d 20 66 69 65 6c | 64 20 6c 61 62 65 6c 0d | -- fiel|d label.|
|00003a90| 73 65 74 20 6e 61 6d 65 | 20 6f 66 20 62 67 20 62 |set name| of bg b|
|00003aa0| 74 6e 20 69 64 20 31 30 | 20 6f 66 20 63 64 20 69 |tn id 10| of cd i|
|00003ab0| 64 20 62 20 74 6f 20 22 | 22 20 2d 2d 20 66 69 65 |d b to "|" -- fie|
|00003ac0| 6c 64 20 6c 61 62 65 6c | 0d 65 6c 73 65 0d 70 75 |ld label|.else.pu|
|00003ad0| 74 20 22 74 72 75 65 22 | 20 69 6e 74 6f 20 6c 69 |t "true"| into li|
|00003ae0| 6e 65 20 39 20 6f 66 20 | 74 6b 50 72 65 66 73 0d |ne 9 of |tkPrefs.|
|00003af0| 73 68 6f 77 20 66 6c 64 | 20 69 64 20 31 30 20 6f |show fld| id 10 o|
|00003b00| 66 20 63 64 20 69 64 20 | 63 0d 73 68 6f 77 20 66 |f cd id |c.show f|
|00003b10| 6c 64 20 69 64 20 31 30 | 20 6f 66 20 63 64 20 69 |ld id 10| of cd i|
|00003b20| 64 20 61 0d 73 68 6f 77 | 20 66 6c 64 20 69 64 20 |d a.show| fld id |
|00003b30| 39 20 6f 66 20 63 64 20 | 69 64 20 62 0d 70 75 74 |9 of cd |id b.put|
|00003b40| 20 6c 69 6e 65 20 33 20 | 6f 66 20 69 74 20 69 6e | line 3 |of it in|
|00003b50| 74 6f 20 6c 61 62 65 6c | 4e 61 6d 65 0d 69 66 20 |to label|Name.if |
|00003b60| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 6c 61 62 |last cha|r of lab|
|00003b70| 65 6c 4e 61 6d 65 20 ad | 20 22 3a 22 20 74 68 65 |elName .| ":" the|
|00003b80| 6e 20 70 75 74 20 22 3a | 22 20 61 66 74 65 72 20 |n put ":|" after |
|00003b90| 6c 61 62 65 6c 4e 61 6d | 65 0d 73 65 74 20 6e 61 |labelNam|e.set na|
|00003ba0| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |me of bg| btn id |
|00003bb0| 34 36 20 6f 66 20 63 64 | 20 69 64 20 63 20 74 6f |46 of cd| id c to|
|00003bc0| 20 6c 61 62 65 6c 4e 61 | 6d 65 20 2d 2d 20 66 69 | labelNa|me -- fi|
|00003bd0| 65 6c 64 20 6c 61 62 65 | 6c 0d 73 65 74 20 6e 61 |eld labe|l.set na|
|00003be0| 6d 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |me of bg| btn id |
|00003bf0| 34 36 20 6f 66 20 63 64 | 20 69 64 20 61 20 74 6f |46 of cd| id a to|
|00003c00| 20 6c 61 62 65 6c 4e 61 | 6d 65 0d 73 65 74 20 6e | labelNa|me.set n|
|00003c10| 61 6d 65 20 6f 66 20 62 | 67 20 62 74 6e 20 69 64 |ame of b|g btn id|
|00003c20| 20 31 30 20 6f 66 20 63 | 64 20 69 64 20 62 20 74 | 10 of c|d id b t|
|00003c30| 6f 20 6c 61 62 65 6c 4e | 61 6d 65 0d 70 75 74 20 |o labelN|ame.put |
|00003c40| 6c 61 62 65 6c 4e 61 6d | 65 20 69 6e 74 6f 20 6c |labelNam|e into l|
|00003c50| 69 6e 65 20 31 31 20 6f | 66 20 74 6b 50 72 65 66 |ine 11 o|f tkPref|
|00003c60| 73 0d 70 75 74 20 6c 69 | 6e 65 20 32 20 6f 66 20 |s.put li|ne 2 of |
|00003c70| 69 74 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 30 20 |it into |line 10 |
|00003c80| 6f 66 20 74 6b 50 72 65 | 66 73 20 2d 2d 20 64 69 |of tkPre|fs -- di|
|00003c90| 61 6c 6f 67 20 70 72 6f | 6d 70 74 0d 65 6e 64 20 |alog pro|mpt.end |
|00003ca0| 69 66 0d 70 72 65 66 53 | 65 74 0d 65 6e 64 20 73 |if.prefS|et.end s|
|00003cb0| 70 65 63 46 6c 64 53 65 | 74 75 70 0d 0d 6f 6e 20 |pecFldSe|tup..on |
|00003cc0| 61 62 6f 75 74 4d 65 0d | 67 65 74 20 64 6f 44 6c |aboutMe.|get doDl|
|00003cd0| 6f 67 28 34 37 34 39 2c | 22 22 29 0d 69 66 20 69 |og(4749,|"").if i|
|00003ce0| 74 20 3d 20 32 20 74 68 | 65 6e 20 65 78 69 74 20 |t = 2 th|en exit |
|00003cf0| 61 62 6f 75 74 4d 65 0d | 65 6c 73 65 20 68 65 6c |aboutMe.|else hel|
|00003d00| 70 4d 65 0d 65 6e 64 20 | 61 62 6f 75 74 4d 65 0d |pMe.end |aboutMe.|
|00003d10| 0d 6f 6e 20 68 65 6c 70 | 4d 65 0d 6c 6f 63 6b 20 |.on help|Me.lock |
|00003d20| 73 63 72 65 65 6e 0d 70 | 75 73 68 20 63 64 0d 67 |screen.p|ush cd.g|
|00003d30| 6f 20 63 64 20 31 0d 73 | 68 6f 77 20 66 6c 64 20 |o cd 1.s|how fld |
|00003d40| 69 64 20 36 38 0d 73 68 | 6f 77 20 66 6c 64 20 69 |id 68.sh|ow fld i|
|00003d50| 64 20 36 39 0d 73 68 6f | 77 20 66 6c 64 20 69 64 |d 69.sho|w fld id|
|00003d60| 20 37 30 0d 73 68 6f 77 | 20 62 67 20 62 74 6e 20 | 70.show| bg btn |
|00003d70| 69 64 20 37 33 0d 73 68 | 6f 77 20 62 67 20 62 74 |id 73.sh|ow bg bt|
|00003d80| 6e 20 69 64 20 37 34 0d | 69 66 20 74 68 65 72 65 |n id 74.|if there|
|00003d90| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 73 65 | is a wi|ndow "se|
|00003da0| 63 74 4e 61 76 22 0d 74 | 68 65 6e 20 68 69 64 65 |ctNav".t|hen hide|
|00003db0| 20 77 69 6e 64 6f 77 20 | 22 73 65 63 74 4e 61 76 | window |"sectNav|
|00003dc0| 22 0d 64 69 73 61 62 6c | 65 20 6d 65 6e 75 20 22 |".disabl|e menu "|
|00003dd0| 54 69 6d 65 43 61 63 68 | 65 22 0d 64 69 73 61 62 |TimeCach|e".disab|
|00003de0| 6c 65 20 6d 65 6e 75 20 | 47 6f 0d 64 69 73 61 62 |le menu |Go.disab|
|00003df0| 6c 65 20 6d 65 6e 75 20 | 45 64 69 74 0d 64 69 73 |le menu |Edit.dis|
|00003e00| 61 62 6c 65 20 6d 65 6e | 75 20 46 69 6c 65 0d 75 |able men|u File.u|
|00003e10| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00003e20| 20 68 65 6c 70 4d 65 0d | 0d 6f 6e 20 68 69 64 65 | helpMe.|.on hide|
|00003e30| 48 65 6c 70 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |Help.loc|k screen|
|00003e40| 0d 68 69 64 65 20 66 6c | 64 20 69 64 20 36 38 20 |.hide fl|d id 68 |
|00003e50| 6f 66 20 63 64 20 31 0d | 68 69 64 65 20 66 6c 64 |of cd 1.|hide fld|
|00003e60| 20 69 64 20 36 39 20 6f | 66 20 63 64 20 31 0d 68 | id 69 o|f cd 1.h|
|00003e70| 69 64 65 20 66 6c 64 20 | 69 64 20 37 30 20 6f 66 |ide fld |id 70 of|
|00003e80| 20 63 64 20 31 0d 68 69 | 64 65 20 66 6c 64 20 69 | cd 1.hi|de fld i|
|00003e90| 64 20 37 31 20 6f 66 20 | 63 64 20 31 0d 68 69 64 |d 71 of |cd 1.hid|
|00003ea0| 65 20 66 6c 64 20 69 64 | 20 37 32 20 6f 66 20 63 |e fld id| 72 of c|
|00003eb0| 64 20 31 0d 68 69 64 65 | 20 62 67 20 62 74 6e 20 |d 1.hide| bg btn |
|00003ec0| 69 64 20 37 33 20 6f 66 | 20 63 64 20 31 0d 68 69 |id 73 of| cd 1.hi|
|00003ed0| 64 65 20 62 67 20 62 74 | 6e 20 69 64 20 37 34 20 |de bg bt|n id 74 |
|00003ee0| 6f 66 20 63 64 20 31 0d | 73 65 74 20 74 68 65 20 |of cd 1.|set the |
|00003ef0| 6e 61 6d 65 20 6f 66 20 | 62 67 20 62 74 6e 20 69 |name of |bg btn i|
|00003f00| 64 20 37 33 20 6f 66 20 | 63 64 20 31 20 74 6f 20 |d 73 of |cd 1 to |
|00003f10| 22 53 68 6f 77 20 d2 4d | 65 6e 75 d3 20 48 65 6c |"Show .M|enu. Hel|
|00003f20| 70 22 0d 65 6e 61 62 6c | 65 20 6d 65 6e 75 20 22 |p".enabl|e menu "|
|00003f30| 54 69 6d 65 43 61 63 68 | 65 22 0d 65 6e 61 62 6c |TimeCach|e".enabl|
|00003f40| 65 20 6d 65 6e 75 20 47 | 6f 0d 65 6e 61 62 6c 65 |e menu G|o.enable|
|00003f50| 20 6d 65 6e 75 20 45 64 | 69 74 0d 65 6e 61 62 6c | menu Ed|it.enabl|
|00003f60| 65 20 6d 65 6e 75 20 46 | 69 6c 65 0d 69 66 20 74 |e menu F|ile.if t|
|00003f70| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00003f80| 20 22 73 65 63 74 4e 61 | 76 22 0d 74 68 65 6e 20 | "sectNa|v".then |
|00003f90| 73 68 6f 77 20 77 69 6e | 64 6f 77 20 22 73 65 63 |show win|dow "sec|
|00003fa0| 74 4e 61 76 22 0d 73 65 | 74 20 74 68 65 20 73 63 |tNav".se|t the sc|
|00003fb0| 72 6f 6c 6c 20 6f 66 20 | 66 6c 64 20 69 64 20 36 |roll of |fld id 6|
|00003fc0| 39 20 74 6f 20 30 0d 73 | 65 74 20 74 68 65 20 73 |9 to 0.s|et the s|
|00003fd0| 63 72 6f 6c 6c 20 6f 66 | 20 66 6c 64 20 69 64 20 |croll of| fld id |
|00003fe0| 37 30 20 74 6f 20 30 0d | 73 65 74 20 74 68 65 20 |70 to 0.|set the |
|00003ff0| 73 63 72 6f 6c 6c 20 6f | 66 20 66 6c 64 20 69 64 |scroll o|f fld id|
|00004000| 20 37 31 20 74 6f 20 30 | 0d 73 65 74 20 74 68 65 | 71 to 0|.set the|
|00004010| 20 73 63 72 6f 6c 6c 20 | 6f 66 20 66 6c 64 20 69 | scroll |of fld i|
|00004020| 64 20 37 32 20 74 6f 20 | 30 0d 70 6f 70 20 63 64 |d 72 to |0.pop cd|
|00004030| 0d 75 6e 6c 6f 63 6b 20 | 53 63 72 65 65 6e 20 77 |.unlock |Screen w|
|00004040| 69 74 68 20 76 69 73 75 | 61 6c 20 65 66 66 65 63 |ith visu|al effec|
|00004050| 74 20 7a 6f 6f 6d 20 69 | 6e 20 74 6f 20 63 61 72 |t zoom i|n to car|
|00004060| 64 0d 65 6e 64 20 68 69 | 64 65 48 65 6c 70 0d 0d |d.end hi|deHelp..|
|00004070| 6f 6e 20 68 6f 77 54 6f | 48 65 6c 70 0d 6c 6f 63 |on howTo|Help.loc|
|00004080| 6b 20 73 63 72 65 65 6e | 0d 68 69 64 65 20 66 6c |k screen|.hide fl|
|00004090| 64 20 69 64 20 37 31 0d | 68 69 64 65 20 66 6c 64 |d id 71.|hide fld|
|000040a0| 20 69 64 20 37 32 0d 73 | 68 6f 77 20 66 6c 64 20 | id 72.s|how fld |
|000040b0| 69 64 20 36 39 0d 73 68 | 6f 77 20 66 6c 64 20 69 |id 69.sh|ow fld i|
|000040c0| 64 20 37 30 0d 73 65 74 | 20 74 68 65 20 6e 61 6d |d 70.set| the nam|
|000040d0| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 37 |e of bg |btn id 7|
|000040e0| 33 20 74 6f 20 22 53 68 | 6f 77 20 d2 4d 65 6e 75 |3 to "Sh|ow .Menu|
|000040f0| d3 20 48 65 6c 70 22 0d | 65 6e 64 20 68 6f 77 54 |. Help".|end howT|
|00004100| 6f 48 65 6c 70 0d 0d 6f | 6e 20 6d 65 6e 75 48 65 |oHelp..o|n menuHe|
|00004110| 6c 70 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 68 |lp.lock |screen.h|
|00004120| 69 64 65 20 66 6c 64 20 | 69 64 20 36 39 0d 68 69 |ide fld |id 69.hi|
|00004130| 64 65 20 66 6c 64 20 69 | 64 20 37 30 0d 73 68 6f |de fld i|d 70.sho|
|00004140| 77 20 66 6c 64 20 69 64 | 20 37 31 0d 73 68 6f 77 |w fld id| 71.show|
|00004150| 20 66 6c 64 20 69 64 20 | 37 32 0d 73 65 74 20 74 | fld id |72.set t|
|00004160| 68 65 20 6e 61 6d 65 20 | 6f 66 20 62 67 20 62 74 |he name |of bg bt|
|00004170| 6e 20 69 64 20 37 33 20 | 74 6f 20 22 53 68 6f 77 |n id 73 |to "Show|
|00004180| 20 d2 48 6f 77 2d 74 6f | d3 20 48 65 6c 70 22 0d | .How-to|. Help".|
|00004190| 65 6e 64 20 6d 65 6e 75 | 48 65 6c 70 0d 0d 2d 2d |end menu|Help..--|
|000041a0| 20 6f 6e 20 73 73 20 78 | 0d 2d 2d 20 65 78 69 74 | on ss x|.-- exit|
|000041b0| 20 73 73 0d 2d 2d 20 65 | 6e 64 20 73 73 0d 0d 2d | ss.-- e|nd ss..-|
|000041c0| 2d 20 6f 6e 20 73 65 61 | 72 63 68 53 63 72 69 70 |- on sea|rchScrip|
|000041d0| 74 20 78 0d 2d 2d 20 65 | 78 69 74 20 73 65 61 72 |t x.-- e|xit sear|
|000041e0| 63 68 53 63 72 69 70 74 | 0d 2d 2d 20 65 6e 64 20 |chScript|.-- end |
|000041f0| 73 65 61 72 63 68 53 63 | 72 69 70 74 0d 0d 6f 6e |searchSc|ript..on|
|00004200| 20 73 65 74 41 75 74 6f | 0d 67 6c 6f 62 61 6c 20 | setAuto|.global |
|00004210| 74 6b 50 72 65 66 73 0d | 69 66 20 6c 69 6e 65 20 |tkPrefs.|if line |
|00004220| 31 37 20 6f 66 20 74 6b | 50 72 65 66 73 20 3d 20 |17 of tk|Prefs = |
|00004230| 22 22 20 74 68 65 6e 20 | 70 75 74 20 36 20 69 6e |"" then |put 6 in|
|00004240| 74 6f 20 72 0d 65 6c 73 | 65 20 70 75 74 20 6c 69 |to r.els|e put li|
|00004250| 6e 65 20 31 37 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 17 of| tkPrefs|
|00004260| 20 69 6e 74 6f 20 72 0d | 67 65 74 20 64 6f 44 6c | into r.|get doDl|
|00004270| 6f 67 28 31 32 39 31 2c | 22 41 75 74 6f 6d 61 74 |og(1291,|"Automat|
|00004280| 69 63 61 6c 6c 79 20 63 | 72 65 61 74 65 20 44 61 |ically c|reate Da|
|00004290| 69 6c 79 20 54 69 6d 65 | 73 68 65 65 74 73 20 61 |ily Time|sheets a|
|000042a0| 66 74 65 72 20 74 72 61 | 6e 73 66 65 72 72 69 6e |fter tra|nsferrin|
|000042b0| 67 20 65 6e 74 72 69 65 | 73 3f 22 2c 2c 2c 2c 72 |g entrie|s?",,,,r|
|000042c0| 29 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 69 |).if lin|e 1 of i|
|000042d0| 74 20 3d 20 32 20 74 68 | 65 6e 20 65 78 69 74 20 |t = 2 th|en exit |
|000042e0| 73 65 74 41 75 74 6f 0d | 70 75 74 20 6c 69 6e 65 |setAuto.|put line|
|000042f0| 20 32 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 6c 69 | 2 of it| into li|
|00004300| 6e 65 20 31 37 20 6f 66 | 20 74 6b 50 72 65 66 73 |ne 17 of| tkPrefs|
|00004310| 0d 70 72 65 66 53 65 74 | 0d 65 6e 64 20 73 65 74 |.prefSet|.end set|
|00004320| 41 75 74 6f 0d 0d 6f 6e | 20 65 78 70 6f 72 74 46 |Auto..on| exportF|
|00004330| 6f 72 6d 61 74 0d 67 6c | 6f 62 61 6c 20 74 6b 50 |ormat.gl|obal tkP|
|00004340| 72 65 66 73 0d 69 66 20 | 6c 69 6e 65 20 31 32 20 |refs.if |line 12 |
|00004350| 6f 66 20 74 6b 50 72 65 | 66 73 20 3d 20 22 22 20 |of tkPre|fs = "" |
|00004360| 74 68 65 6e 20 70 75 74 | 20 35 20 69 6e 74 6f 20 |then put| 5 into |
|00004370| 72 0d 65 6c 73 65 20 70 | 75 74 20 6c 69 6e 65 20 |r.else p|ut line |
|00004380| 31 32 20 6f 66 20 74 6b | 50 72 65 66 73 20 69 6e |12 of tk|Prefs in|
|00004390| 74 6f 20 72 0d 67 65 74 | 20 64 6f 44 6c 6f 67 28 |to r.get| doDlog(|
|000043a0| 31 32 39 35 2c 22 53 65 | 6c 65 63 74 20 61 20 66 |1295,"Se|lect a f|
|000043b0| 6f 72 6d 61 74 20 66 6f | 72 20 65 78 70 6f 72 74 |ormat fo|r export|
|000043c0| 65 64 20 4a 6f 62 20 53 | 68 65 65 74 20 72 65 70 |ed Job S|heet rep|
|000043d0| 6f 72 74 73 22 2c 22 22 | 2c 22 22 2c 22 22 2c 72 |orts",""|,"","",r|
|000043e0| 29 0d 69 66 20 6c 69 6e | 65 20 31 20 6f 66 20 69 |).if lin|e 1 of i|
|000043f0| 74 20 3d 20 32 20 74 68 | 65 6e 20 65 78 69 74 20 |t = 2 th|en exit |
|00004400| 74 6f 20 68 79 70 65 72 | 63 61 72 64 0d 70 75 74 |to hyper|card.put|
|00004410| 20 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 20 69 6e | line 2 |of it in|
|00004420| 74 6f 20 6c 69 6e 65 20 | 31 32 20 6f 66 20 74 6b |to line |12 of tk|
|00004430| 50 72 65 66 73 0d 6a 6f | 62 41 70 70 73 0d 70 72 |Prefs.jo|bApps.pr|
|00004440| 65 66 53 65 74 0d 65 6e | 64 20 65 78 70 6f 72 74 |efSet.en|d export|
|00004450| 46 6f 72 6d 61 74 0d 0d | 6f 6e 20 73 65 74 43 6f |Format..|on setCo|
|00004460| 6d 6d 65 6e 74 73 0d 67 | 6c 6f 62 61 6c 20 74 6b |mments.g|lobal tk|
|00004470| 50 72 65 66 73 0d 69 66 | 20 6c 69 6e 65 20 31 36 |Prefs.if| line 16|
|00004480| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 3d 20 46 61 | of tkPr|efs = Fa|
|00004490| 6c 73 65 20 6f 72 20 6c | 69 6e 65 20 31 36 20 6f |lse or l|ine 16 o|
|000044a0| 66 20 74 6b 50 72 65 66 | 73 20 3d 20 22 22 20 74 |f tkPref|s = "" t|
|000044b0| 68 65 6e 20 70 75 74 20 | 35 20 69 6e 74 6f 20 72 |hen put |5 into r|
|000044c0| 0d 65 6c 73 65 20 70 75 | 74 20 34 20 69 6e 74 6f |.else pu|t 4 into|
|000044d0| 20 72 0d 67 65 74 20 64 | 6f 44 6c 6f 67 28 31 32 | r.get d|oDlog(12|
|000044e0| 39 32 2c 22 55 73 65 20 | 6c 6f 6e 67 20 63 6f 6d |92,"Use |long com|
|000044f0| 6d 65 6e 74 73 3f 22 2c | 22 22 2c 22 22 2c 22 22 |ments?",|"","",""|
|00004500| 2c 72 29 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |,r).if l|ine 1 of|
|00004510| 20 69 74 20 3d 20 32 20 | 74 68 65 6e 20 65 78 69 | it = 2 |then exi|
|00004520| 74 20 73 65 74 43 6f 6d | 6d 65 6e 74 73 0d 70 75 |t setCom|ments.pu|
|00004530| 74 20 28 6c 69 6e 65 20 | 32 20 6f 66 20 69 74 20 |t (line |2 of it |
|00004540| 3d 20 34 29 20 69 6e 74 | 6f 20 6c 69 6e 65 20 31 |= 4) int|o line 1|
|00004550| 36 20 6f 66 20 74 6b 50 | 72 65 66 73 0d 70 72 65 |6 of tkP|refs.pre|
|00004560| 66 53 65 74 0d 65 6e 64 | 20 73 65 74 43 6f 6d 6d |fSet.end| setComm|
|00004570| 65 6e 74 73 0d 0d 6f 6e | 20 73 65 74 57 6b 6e 64 |ents..on| setWknd|
|00004580| 73 0d 67 6c 6f 62 61 6c | 20 74 6b 50 72 65 66 73 |s.global| tkPrefs|
|00004590| 0d 69 66 20 6c 69 6e 65 | 20 31 34 20 6f 66 20 74 |.if line| 14 of t|
|000045a0| 6b 50 72 65 66 73 20 3d | 20 22 54 72 75 65 22 20 |kPrefs =| "True" |
|000045b0| 74 68 65 6e 20 70 75 74 | 20 34 20 69 6e 74 6f 20 |then put| 4 into |
|000045c0| 72 0d 65 6c 73 65 20 70 | 75 74 20 35 20 69 6e 74 |r.else p|ut 5 int|
|000045d0| 6f 20 72 0d 67 65 74 20 | 64 6f 44 6c 6f 67 28 31 |o r.get |doDlog(1|
|000045e0| 32 39 32 2c 22 53 6b 69 | 70 20 77 65 65 6b 65 6e |292,"Ski|p weeken|
|000045f0| 64 73 20 77 68 65 6e 20 | 70 72 6f 6d 70 74 69 6e |ds when |promptin|
|00004600| 67 20 66 6f 72 20 6e 65 | 78 74 20 64 61 74 65 3f |g for ne|xt date?|
|00004610| 22 2c 22 22 2c 22 22 2c | 22 22 2c 72 29 0d 69 66 |","","",|"",r).if|
|00004620| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 3d 20 | line 1 |of it = |
|00004630| 32 20 74 68 65 6e 20 65 | 78 69 74 20 73 65 74 57 |2 then e|xit setW|
|00004640| 6b 6e 64 73 0d 70 75 74 | 20 28 6c 69 6e 65 20 32 |knds.put| (line 2|
|00004650| 20 6f 66 20 69 74 20 3d | 20 34 29 20 69 6e 74 6f | of it =| 4) into|
|00004660| 20 6c 69 6e 65 20 31 34 | 20 6f 66 20 74 6b 50 72 | line 14| of tkPr|
|00004670| 65 66 73 0d 70 72 65 66 | 53 65 74 0d 65 6e 64 20 |efs.pref|Set.end |
|00004680| 73 65 74 57 6b 6e 64 73 | 0d 0d 6f 6e 20 73 65 74 |setWknds|..on set|
|00004690| 4c 6f 67 67 69 6e 67 0d | 67 6c 6f 62 61 6c 20 74 |Logging.|global t|
|000046a0| 6b 50 72 65 66 73 0d 69 | 66 20 6c 69 6e 65 20 33 |kPrefs.i|f line 3|
|000046b0| 20 6f 66 20 74 6b 50 72 | 65 66 73 20 3d 20 22 54 | of tkPr|efs = "T|
|000046c0| 72 75 65 22 20 74 68 65 | 6e 20 70 75 74 20 34 20 |rue" the|n put 4 |
|000046d0| 69 6e 74 6f 20 72 0d 65 | 6c 73 65 20 70 75 74 20 |into r.e|lse put |
|000046e0| 35 20 69 6e 74 6f 20 72 | 0d 67 65 74 20 64 6f 44 |5 into r|.get doD|
|000046f0| 6c 6f 67 28 31 32 39 32 | 2c 22 41 64 64 20 73 74 |log(1292|,"Add st|
|00004700| 61 72 74 20 61 6e 64 20 | 73 74 6f 70 20 74 69 6d |art and |stop tim|
|00004710| 65 73 20 74 6f 20 6e 6f | 74 65 73 20 77 68 65 6e |es to no|tes when|
|00004720| 20 75 73 69 6e 67 20 74 | 69 6d 65 72 3f 22 2c 22 | using t|imer?","|
|00004730| 22 2c 22 22 2c 22 22 2c | 72 29 0d 69 66 20 6c 69 |","","",|r).if li|
|00004740| 6e 65 20 31 20 6f 66 20 | 69 74 20 3d 20 32 20 74 |ne 1 of |it = 2 t|
|00004750| 68 65 6e 20 65 78 69 74 | 20 73 65 74 4c 6f 67 67 |hen exit| setLogg|
|00004760| 69 6e 67 0d 70 75 74 20 | 28 6c 69 6e 65 20 32 20 |ing.put |(line 2 |
|00004770| 6f 66 20 69 74 20 3d 20 | 34 29 20 69 6e 74 6f 20 |of it = |4) into |
|00004780| 6c 69 6e 65 20 33 20 6f | 66 20 74 6b 50 72 65 66 |line 3 o|f tkPref|
|00004790| 73 0d 70 72 65 66 53 65 | 74 0d 65 6e 64 20 73 65 |s.prefSe|t.end se|
|000047a0| 74 4c 6f 67 67 69 6e 67 | 0d 0d 6f 6e 20 70 72 65 |tLogging|..on pre|
|000047b0| 66 53 65 74 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |fSet.glo|bal tkPr|
|000047c0| 65 66 73 0d 70 75 74 20 | 74 6b 50 72 65 66 73 20 |efs.put |tkPrefs |
|000047d0| 69 6e 74 6f 20 66 6c 64 | 20 69 64 20 34 38 20 6f |into fld| id 48 o|
|000047e0| 66 20 63 64 20 31 0d 65 | 6e 64 20 70 72 65 66 53 |f cd 1.e|nd prefS|
|000047f0| 65 74 0d 0d 6f 6e 20 63 | 6f 6d 6d 61 57 61 72 6e |et..on c|ommaWarn|
|00004800| 69 6e 67 0d 62 65 65 70 | 0d 73 64 41 6c 65 72 74 |ing.beep|.sdAlert|
|00004810| 20 22 53 6f 72 72 79 21 | 20 43 61 6e d5 74 20 75 | "Sorry!| Can.t u|
|00004820| 73 65 20 63 6f 6d 6d 61 | 73 2e 20 50 6c 65 61 73 |se comma|s. Pleas|
|00004830| 65 20 74 72 79 20 61 67 | 61 69 6e 2e 22 0d 65 6e |e try ag|ain.".en|
|00004840| 64 20 63 6f 6d 6d 61 57 | 61 72 6e 69 6e 67 0d 0d |d commaW|arning..|
|00004850| 6f 6e 20 68 69 64 65 54 | 4b 0d 67 6c 6f 62 61 6c |on hideT|K.global|
|00004860| 20 74 6b 50 72 65 66 73 | 0d 6c 6f 63 6b 20 73 63 | tkPrefs|.lock sc|
|00004870| 72 65 65 6e 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |reen.put| the num|
|00004880| 62 65 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 73 |ber of m|enuItems|
|00004890| 20 69 6e 20 6d 65 6e 75 | 20 22 54 69 6d 65 43 61 | in menu| "TimeCa|
|000048a0| 63 68 65 22 20 69 6e 74 | 6f 20 69 0d 69 66 20 74 |che" int|o i.if t|
|000048b0| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 77 69 |he visib|le of wi|
|000048c0| 6e 64 6f 77 20 28 73 68 | 6f 72 74 20 6e 61 6d 65 |ndow (sh|ort name|
|000048d0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 29 20 | of this| stack) |
|000048e0| 3d 20 74 72 75 65 20 74 | 68 65 6e 0d 68 69 64 65 |= true t|hen.hide|
|000048f0| 20 77 69 6e 64 6f 77 20 | 28 73 68 6f 72 74 20 6e | window |(short n|
|00004900| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00004910| 6b 29 0d 73 65 74 20 74 | 68 65 20 63 68 65 63 6b |k).set t|he check|
|00004920| 4d 61 72 6b 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Mark of |menuItem|
|00004930| 20 22 48 69 64 65 20 54 | 69 6d 65 43 61 63 68 65 | "Hide T|imeCache|
|00004940| 22 20 6f 66 20 6d 65 6e | 75 20 22 54 69 6d 65 43 |" of men|u "TimeC|
|00004950| 61 63 68 65 22 20 74 6f | 20 74 72 75 65 0d 72 65 |ache" to| true.re|
|00004960| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 33 20 |peat wit|h x = 3 |
|00004970| 74 6f 20 69 0d 64 69 73 | 61 62 6c 65 20 6d 65 6e |to i.dis|able men|
|00004980| 75 49 74 65 6d 20 78 20 | 6f 66 20 6d 65 6e 75 20 |uItem x |of menu |
|00004990| 22 54 69 6d 65 43 61 63 | 68 65 22 0d 65 6e 64 20 |"TimeCac|he".end |
|000049a0| 72 65 70 65 61 74 0d 69 | 66 20 74 68 65 72 65 20 |repeat.i|f there |
|000049b0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 73 65 63 |is a win|dow "sec|
|000049c0| 74 4e 61 76 22 0d 74 68 | 65 6e 20 68 69 64 65 20 |tNav".th|en hide |
|000049d0| 77 69 6e 64 6f 77 20 22 | 73 65 63 74 4e 61 76 22 |window "|sectNav"|
|000049e0| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 20 47 6f |.disable| menu Go|
|000049f0| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 20 45 64 |.disable| menu Ed|
|00004a00| 69 74 0d 64 69 73 61 62 | 6c 65 20 6d 65 6e 75 20 |it.disab|le menu |
|00004a10| 46 69 6c 65 0d 65 6c 73 | 65 0d 73 68 6f 77 20 77 |File.els|e.show w|
|00004a20| 69 6e 64 6f 77 20 73 68 | 6f 72 74 20 6e 61 6d 65 |indow sh|ort name|
|00004a30| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 73 | of this| stack.s|
|00004a40| 65 74 20 74 68 65 20 63 | 68 65 63 6b 4d 61 72 6b |et the c|heckMark|
|00004a50| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 48 69 | of menu|Item "Hi|
|00004a60| 64 65 20 54 69 6d 65 43 | 61 63 68 65 22 20 6f 66 |de TimeC|ache" of|
|00004a70| 20 6d 65 6e 75 20 22 54 | 69 6d 65 43 61 63 68 65 | menu "T|imeCache|
|00004a80| 22 20 74 6f 20 66 61 6c | 73 65 0d 72 65 70 65 61 |" to fal|se.repea|
|00004a90| 74 20 77 69 74 68 20 78 | 20 3d 20 33 20 74 6f 20 |t with x| = 3 to |
|00004aa0| 69 0d 65 6e 61 62 6c 65 | 20 6d 65 6e 75 49 74 65 |i.enable| menuIte|
|00004ab0| 6d 20 78 20 6f 66 20 6d | 65 6e 75 20 22 54 69 6d |m x of m|enu "Tim|
|00004ac0| 65 43 61 63 68 65 22 0d | 65 6e 64 20 72 65 70 65 |eCache".|end repe|
|00004ad0| 61 74 0d 65 6e 61 62 6c | 65 20 6d 65 6e 75 20 47 |at.enabl|e menu G|
|00004ae0| 6f 0d 65 6e 61 62 6c 65 | 20 6d 65 6e 75 20 45 64 |o.enable| menu Ed|
|00004af0| 69 74 0d 65 6e 61 62 6c | 65 20 6d 65 6e 75 20 46 |it.enabl|e menu F|
|00004b00| 69 6c 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ile.if t|here is |
|00004b10| 61 20 77 69 6e 64 6f 77 | 20 22 73 65 63 74 4e 61 |a window| "sectNa|
|00004b20| 76 22 0d 74 68 65 6e 20 | 73 68 6f 77 20 77 69 6e |v".then |show win|
|00004b30| 64 6f 77 20 22 73 65 63 | 74 4e 61 76 22 0d 65 6e |dow "sec|tNav".en|
|00004b40| 64 20 69 66 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |d if.unl|ock scre|
|00004b50| 65 6e 0d 65 6e 64 20 68 | 69 64 65 54 4b 0d 0d 6f |en.end h|ideTK..o|
|00004b60| 6e 20 65 78 69 74 4d 6f | 76 65 0d 67 6c 6f 62 61 |n exitMo|ve.globa|
|00004b70| 6c 20 6d 6f 76 65 54 65 | 78 74 2c 63 6f 70 79 4d |l moveTe|xt,copyM|
|00004b80| 6f 64 65 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ode.put |false in|
|00004b90| 74 6f 20 63 6f 70 79 4d | 6f 64 65 0d 69 66 20 6d |to copyM|ode.if m|
|00004ba0| 6f 76 65 54 65 78 74 20 | ad 20 22 22 20 74 68 65 |oveText |. "" the|
|00004bb0| 6e 0d 70 75 74 20 22 43 | 61 6e 63 65 6c 69 6e 67 |n.put "C|anceling|
|00004bc0| 20 6e 6f 77 20 77 69 6c | 6c 20 64 65 6c 65 74 65 | now wil|l delete|
|00004bd0| 20 74 68 65 20 6c 69 6e | 65 20 79 6f 75 20 73 65 | the lin|e you se|
|00004be0| 6c 65 63 74 65 64 2e 20 | 52 65 73 74 6f 72 65 20 |lected. |Restore |
|00004bf0| 22 20 26 c2 0d 22 74 68 | 65 20 6c 69 6e 65 3f 22 |" &.."th|e line?"|
|00004c00| 20 69 6e 74 6f 20 70 72 | 6f 6d 70 74 0d 62 65 65 | into pr|ompt.bee|
|00004c10| 70 0d 67 65 74 20 64 6f | 44 6c 6f 67 28 31 33 30 |p.get do|Dlog(130|
|00004c20| 35 2c 70 72 6f 6d 70 74 | 29 0d 69 66 20 69 74 20 |5,prompt|).if it |
|00004c30| 3d 20 31 20 74 68 65 6e | 20 72 65 73 74 6f 72 65 |= 1 then| restore|
|00004c40| 4d 6f 76 65 0d 65 6e 64 | 20 69 66 0d 65 6e 61 62 |Move.end| if.enab|
|00004c50| 6c 65 20 6d 65 6e 75 20 | 22 46 69 6c 65 22 0d 65 |le menu |"File".e|
|00004c60| 6e 61 62 6c 65 20 6d 65 | 6e 75 20 22 54 69 6d 65 |nable me|nu "Time|
|00004c70| 43 61 63 68 65 22 0d 65 | 6e 61 62 6c 65 20 6d 65 |Cache".e|nable me|
|00004c80| 6e 75 20 22 47 6f 22 0d | 63 6c 6f 73 65 4d 6f 76 |nu "Go".|closeMov|
|00004c90| 65 57 69 6e 64 6f 77 73 | 0d 65 6e 64 20 65 78 69 |eWindows|.end exi|
|00004ca0| 74 4d 6f 76 65 0d 0d 6f | 6e 20 72 65 73 74 6f 72 |tMove..o|n restor|
|00004cb0| 65 4d 6f 76 65 0d 67 6c | 6f 62 61 6c 20 74 43 64 |eMove.gl|obal tCd|
|00004cc0| 2c 62 2c 6d 6f 76 65 54 | 65 78 74 2c 70 61 73 74 |,b,moveT|ext,past|
|00004cd0| 65 4d 6f 64 65 0d 73 65 | 74 20 63 75 72 73 6f 72 |eMode.se|t cursor|
|00004ce0| 20 74 6f 20 77 61 74 63 | 68 0d 6c 6f 63 6b 20 73 | to watc|h.lock s|
|00004cf0| 63 72 65 65 6e 0d 73 65 | 74 20 6c 6f 63 6b 4d 65 |creen.se|t lockMe|
|00004d00| 73 73 61 67 65 73 20 74 | 6f 20 74 72 75 65 0d 69 |ssages t|o true.i|
|00004d10| 66 20 62 20 3e 20 31 20 | 74 68 65 6e 0d 70 75 74 |f b > 1 |then.put|
|00004d20| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 67 0d 70 | return |into g.p|
|00004d30| 75 74 20 22 22 20 69 6e | 74 6f 20 68 0d 65 6c 73 |ut "" in|to h.els|
|00004d40| 65 0d 70 75 74 20 32 20 | 69 6e 74 6f 20 62 0d 70 |e.put 2 |into b.p|
|00004d50| 75 74 20 22 22 20 69 6e | 74 6f 20 67 0d 70 75 74 |ut "" in|to g.put|
|00004d60| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 68 0d 65 | return |into h.e|
|00004d70| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 77 69 74 |nd if.re|peat wit|
|00004d80| 68 20 78 20 3d 20 31 20 | 74 6f 20 35 0d 70 75 74 |h x = 1 |to 5.put|
|00004d90| 20 67 20 26 20 6c 69 6e | 65 20 78 20 6f 66 20 6d | g & lin|e x of m|
|00004da0| 6f 76 65 54 65 78 74 20 | 26 20 68 20 69 6e 74 6f |oveText |& h into|
|00004db0| 20 72 65 73 74 6f 72 65 | 54 65 78 74 0d 70 75 74 | restore|Text.put|
|00004dc0| 20 72 65 73 74 6f 72 65 | 54 65 78 74 20 61 66 74 | restore|Text aft|
|00004dd0| 65 72 20 6c 69 6e 65 20 | 28 62 20 2d 20 31 29 20 |er line |(b - 1) |
|00004de0| 6f 66 20 66 6c 64 20 78 | 20 6f 66 20 63 64 20 74 |of fld x| of cd t|
|00004df0| 43 64 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 75 |Cd.end r|epeat.su|
|00004e00| 6d 48 6f 75 72 73 20 74 | 43 64 0d 73 65 74 20 6c |mHours t|Cd.set l|
|00004e10| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 66 |ockMessa|ges to f|
|00004e20| 61 6c 73 65 0d 67 6f 20 | 63 64 20 74 43 64 0d 70 |alse.go |cd tCd.p|
|00004e30| 75 74 20 22 22 20 69 6e | 74 6f 20 6d 6f 76 65 54 |ut "" in|to moveT|
|00004e40| 65 78 74 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |ext.put |false in|
|00004e50| 74 6f 20 70 61 73 74 65 | 4d 6f 64 65 0d 63 6c 6f |to paste|Mode.clo|
|00004e60| 73 65 4d 6f 76 65 57 69 | 6e 64 6f 77 73 0d 75 6e |seMoveWi|ndows.un|
|00004e70| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|00004e80| 72 65 73 74 6f 72 65 4d | 6f 76 65 0d 0d 6f 6e 20 |restoreM|ove..on |
|00004e90| 6d 6f 76 65 4c 69 6e 65 | 0d 67 6c 6f 62 61 6c 20 |moveLine|.global |
|00004ea0| 63 6f 70 79 4d 6f 64 65 | 0d 73 65 74 20 63 75 72 |copyMode|.set cur|
|00004eb0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 6c 6f 63 |sor to w|atch.loc|
|00004ec0| 6b 20 73 63 72 65 65 6e | 0d 70 61 6c 65 74 74 65 |k screen|.palette|
|00004ed0| 20 73 74 61 72 74 4d 6f | 76 65 2c 22 32 34 32 2c | startMo|ve,"242,|
|00004ee0| 32 34 32 22 0d 70 75 74 | 20 74 72 75 65 20 69 6e |242".put| true in|
|00004ef0| 74 6f 20 63 6f 70 79 4d | 6f 64 65 0d 62 65 65 70 |to copyM|ode.beep|
|00004f00| 0d 64 69 73 61 62 6c 65 | 20 6d 65 6e 75 20 22 46 |.disable| menu "F|
|00004f10| 69 6c 65 22 0d 64 69 73 | 61 62 6c 65 20 6d 65 6e |ile".dis|able men|
|00004f20| 75 20 22 47 6f 22 0d 64 | 69 73 61 62 6c 65 20 6d |u "Go".d|isable m|
|00004f30| 65 6e 75 20 22 54 69 6d | 65 43 61 63 68 65 22 0d |enu "Tim|eCache".|
|00004f40| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00004f50| 64 20 6d 6f 76 65 4c 69 | 6e 65 0d 0d 6f 6e 20 64 |d moveLi|ne..on d|
|00004f60| 6f 4d 6f 76 65 0d 67 6c | 6f 62 61 6c 20 70 61 73 |oMove.gl|obal pas|
|00004f70| 74 65 4d 6f 64 65 2c 6d | 6f 76 65 54 65 78 74 2c |teMode,m|oveText,|
|00004f80| 62 2c 63 64 4e 61 6d 65 | 0d 73 65 74 20 63 75 72 |b,cdName|.set cur|
|00004f90| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 69 66 20 |sor to w|atch.if |
|00004fa0| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00004fb0| 74 68 69 73 20 62 67 20 | ad 20 35 34 34 39 20 74 |this bg |. 5449 t|
|00004fc0| 68 65 6e 0d 62 65 65 70 | 0d 73 64 41 6c 65 72 74 |hen.beep|.sdAlert|
|00004fd0| 20 22 59 6f 75 20 63 61 | 6e 20 6f 6e 6c 79 20 61 | "You ca|n only a|
|00004fe0| 64 64 20 74 68 69 73 20 | 64 61 74 61 20 74 6f 20 |dd this |data to |
|00004ff0| 61 20 4a 6f 62 20 53 68 | 65 65 74 2e 20 53 74 61 |a Job Sh|eet. Sta|
|00005000| 72 74 20 61 67 61 69 6e | 2e 22 0d 72 65 73 74 6f |rt again|.".resto|
|00005010| 72 65 4d 6f 76 65 0d 65 | 6e 64 20 69 66 0d 69 66 |reMove.e|nd if.if|
|00005020| 20 70 61 73 74 65 4d 6f | 64 65 20 3d 20 74 72 75 | pasteMo|de = tru|
|00005030| 65 20 61 6e 64 20 6d 6f | 76 65 54 65 78 74 20 ad |e and mo|veText .|
|00005040| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 31 20 2b | "" then|.put 1 +|
|00005050| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00005060| 69 6e 65 73 20 69 6e 20 | 66 6c 64 20 69 64 20 32 |ines in |fld id 2|
|00005070| 20 69 6e 74 6f 20 6e 0d | 69 66 20 6e 20 3e 20 31 | into n.|if n > 1|
|00005080| 20 74 68 65 6e 20 70 75 | 74 20 72 65 74 75 72 6e | then pu|t return|
|00005090| 20 69 6e 74 6f 20 67 0d | 65 6c 73 65 20 70 75 74 | into g.|else put|
|000050a0| 20 22 22 20 69 6e 74 6f | 20 67 0d 6c 6f 63 6b 20 | "" into| g.lock |
|000050b0| 73 63 72 65 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |screen.r|epeat wi|
|000050c0| 74 68 20 78 20 3d 20 31 | 20 74 6f 20 35 0d 70 75 |th x = 1| to 5.pu|
|000050d0| 74 20 6c 69 6e 65 20 78 | 20 6f 66 20 6d 6f 76 65 |t line x| of move|
|000050e0| 54 65 78 74 20 26 20 67 | 20 69 6e 74 6f 20 6c 69 |Text & g| into li|
|000050f0| 6e 65 20 6e 20 6f 66 20 | 66 6c 64 20 78 0d 65 6e |ne n of |fld x.en|
|00005100| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 74 68 65 |d repeat|.put the|
|00005110| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00005120| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 74 43 64 0d |his cd i|nto tCd.|
|00005130| 73 75 6d 48 6f 75 72 73 | 20 74 43 64 0d 75 6e 6c |sumHours| tCd.unl|
|00005140| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 22 |ock scre|en.put "|
|00005150| 22 20 69 6e 74 6f 20 6d | 6f 76 65 54 65 78 74 0d |" into m|oveText.|
|00005160| 65 6e 64 20 69 66 0d 65 | 78 69 74 4d 6f 76 65 0d |end if.e|xitMove.|
|00005170| 65 6e 64 20 64 6f 4d 6f | 76 65 0d 0d 6f 6e 20 63 |end doMo|ve..on c|
|00005180| 6c 6f 73 65 4d 6f 76 65 | 57 69 6e 64 6f 77 73 0d |loseMove|Windows.|
|00005190| 67 6c 6f 62 61 6c 20 6d | 6f 76 65 54 65 78 74 2c |global m|oveText,|
|000051a0| 70 61 73 74 65 4d 6f 64 | 65 0d 73 65 74 20 63 75 |pasteMod|e.set cu|
|000051b0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|000051c0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 63 6f 70 |t false |into cop|
|000051d0| 79 4d 6f 64 65 0d 70 75 | 74 20 66 61 6c 73 65 20 |yMode.pu|t false |
|000051e0| 69 6e 74 6f 20 70 61 73 | 74 65 4d 6f 64 65 0d 70 |into pas|teMode.p|
|000051f0| 75 74 20 22 22 20 69 6e | 74 6f 20 6d 6f 76 65 54 |ut "" in|to moveT|
|00005200| 65 78 74 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ext.if t|here is |
|00005210| 61 20 77 69 6e 64 6f 77 | 20 22 73 74 61 72 74 4d |a window| "startM|
|00005220| 6f 76 65 22 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |ove" the|n close |
|00005230| 77 69 6e 64 6f 77 20 22 | 73 74 61 72 74 4d 6f 76 |window "|startMov|
|00005240| 65 22 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |e".if th|ere is a|
|00005250| 20 77 69 6e 64 6f 77 20 | 22 64 6f 4d 6f 76 65 22 | window |"doMove"|
|00005260| 20 74 68 65 6e 20 63 6c | 6f 73 65 20 77 69 6e 64 | then cl|ose wind|
|00005270| 6f 77 20 22 64 6f 4d 6f | 76 65 22 0d 65 6e 64 20 |ow "doMo|ve".end |
|00005280| 63 6c 6f 73 65 4d 6f 76 | 65 57 69 6e 64 6f 77 73 |closeMov|eWindows|
|00005290| 0d 0d 6f 6e 20 67 6f 4e | 65 78 74 0d 67 6c 6f 62 |..on goN|ext.glob|
|000052a0| 61 6c 20 70 61 6c 48 69 | 0d 69 66 20 74 68 65 72 |al palHi|.if ther|
|000052b0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 73 |e is a w|indow "s|
|000052c0| 65 63 74 4e 61 76 22 0d | 74 68 65 6e 20 73 65 74 |ectNav".|then set|
|000052d0| 20 74 68 65 20 68 69 6c | 69 74 65 64 42 75 74 74 | the hil|itedButt|
|000052e0| 6f 6e 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 73 65 |on of wi|ndow "se|
|000052f0| 63 74 4e 61 76 22 20 74 | 6f 20 70 61 6c 48 69 0d |ctNav" t|o palHi.|
|00005300| 67 6f 20 6e 65 78 74 20 | 63 64 20 6f 66 20 74 68 |go next |cd of th|
|00005310| 69 73 20 62 67 0d 65 6e | 64 20 67 6f 4e 65 78 74 |is bg.en|d goNext|
|00005320| 0d 0d 6f 6e 20 67 6f 50 | 72 65 76 0d 67 6c 6f 62 |..on goP|rev.glob|
|00005330| 61 6c 20 70 61 6c 48 69 | 0d 69 66 20 74 68 65 72 |al palHi|.if ther|
|00005340| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 22 73 |e is a w|indow "s|
|00005350| 65 63 74 4e 61 76 22 0d | 74 68 65 6e 20 73 65 74 |ectNav".|then set|
|00005360| 20 74 68 65 20 68 69 6c | 69 74 65 64 42 75 74 74 | the hil|itedButt|
|00005370| 6f 6e 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 73 65 |on of wi|ndow "se|
|00005380| 63 74 4e 61 76 22 20 74 | 6f 20 70 61 6c 48 69 0d |ctNav" t|o palHi.|
|00005390| 67 6f 20 70 72 65 76 20 | 63 64 20 6f 66 20 74 68 |go prev |cd of th|
|000053a0| 69 73 20 62 67 0d 65 6e | 64 20 67 6f 50 72 65 76 |is bg.en|d goPrev|
|000053b0| 0d 0d 6f 6e 20 63 6c 6f | 73 65 50 61 6c 65 74 74 |..on clo|sePalett|
|000053c0| 65 20 78 0d 67 6c 6f 62 | 61 6c 20 63 6f 70 79 4d |e x.glob|al copyM|
|000053d0| 6f 64 65 2c 70 61 73 74 | 65 4d 6f 64 65 2c 74 6b |ode,past|eMode,tk|
|000053e0| 50 72 65 66 73 0d 69 66 | 20 78 20 3d 20 73 74 61 |Prefs.if| x = sta|
|000053f0| 72 74 4d 6f 76 65 20 61 | 6e 64 20 63 6f 70 79 4d |rtMove a|nd copyM|
|00005400| 6f 64 65 20 3d 20 74 72 | 75 65 20 74 68 65 6e 20 |ode = tr|ue then |
|00005410| 70 61 6c 65 74 74 65 20 | 73 74 61 72 74 4d 6f 76 |palette |startMov|
|00005420| 65 0d 69 66 20 78 20 3d | 20 64 6f 4d 6f 76 65 20 |e.if x =| doMove |
|00005430| 61 6e 64 20 70 61 73 74 | 65 4d 6f 64 65 20 3d 20 |and past|eMode = |
|00005440| 74 72 75 65 20 74 68 65 | 6e 20 70 61 6c 65 74 74 |true the|n palett|
|00005450| 65 20 64 6f 4d 6f 76 65 | 0d 69 66 20 78 20 3d 20 |e doMove|.if x = |
|00005460| 22 73 65 63 74 4e 61 76 | 22 20 74 68 65 6e 0d 70 |"sectNav|" then.p|
|00005470| 75 74 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |ut the t|opLeft o|
|00005480| 66 20 77 69 6e 64 6f 77 | 20 22 73 65 63 74 4e 61 |f window| "sectNa|
|00005490| 76 22 20 69 6e 74 6f 20 | 6c 69 6e 65 20 32 33 20 |v" into |line 23 |
|000054a0| 6f 66 20 74 6b 50 72 65 | 66 73 0d 70 75 74 20 22 |of tkPre|fs.put "|
|000054b0| 53 68 6f 77 22 20 69 6e | 74 6f 20 6c 69 6e 65 20 |Show" in|to line |
|000054c0| 32 32 20 6f 66 20 74 6b | 50 72 65 66 73 0d 70 75 |22 of tk|Prefs.pu|
|000054d0| 74 20 22 53 68 6f 77 20 | 4e 61 76 69 67 61 74 6f |t "Show |Navigato|
|000054e0| 72 22 20 69 6e 74 6f 20 | 6d 65 6e 75 49 74 65 6d |r" into |menuItem|
|000054f0| 20 31 32 20 6f 66 20 6d | 65 6e 75 20 47 6f 0d 65 | 12 of m|enu Go.e|
|00005500| 6e 64 20 69 66 0d 65 6e | 64 20 63 6c 6f 73 65 50 |nd if.en|d closeP|
|00005510| 61 6c 65 74 74 65 0d 0d | 66 75 6e 63 74 69 6f 6e |alette..|function|
|00005520| 20 69 74 65 6d 46 69 6e | 64 20 77 68 61 74 2c 77 | itemFin|d what,w|
|00005530| 68 65 72 65 2c 68 6f 77 | 0d 70 75 74 20 31 20 69 |here,how|.put 1 i|
|00005540| 6e 74 6f 20 73 74 61 72 | 74 4f 66 66 73 65 74 0d |nto star|tOffset.|
|00005550| 70 75 74 20 30 20 69 6e | 74 6f 20 61 64 64 65 72 |put 0 in|to adder|
|00005560| 0d 72 65 70 65 61 74 0d | 70 75 74 20 6f 66 66 73 |.repeat.|put offs|
|00005570| 65 74 28 77 68 61 74 2c | 63 68 61 72 20 73 74 61 |et(what,|char sta|
|00005580| 72 74 4f 66 66 73 65 74 | 20 74 6f 20 6c 65 6e 67 |rtOffset| to leng|
|00005590| 74 68 28 77 68 65 72 65 | 29 20 6f 66 20 77 68 65 |th(where|) of whe|
|000055a0| 72 65 29 20 69 6e 74 6f | 20 73 74 61 72 74 4f 66 |re) into| startOf|
|000055b0| 66 73 65 74 0d 69 66 20 | 73 74 61 72 74 4f 66 66 |fset.if |startOff|
|000055c0| 73 65 74 20 3d 20 30 20 | 74 68 65 6e 20 72 65 74 |set = 0 |then ret|
|000055d0| 75 72 6e 20 30 0d 61 64 | 64 20 73 74 61 72 74 4f |urn 0.ad|d startO|
|000055e0| 66 66 73 65 74 20 74 6f | 20 61 64 64 65 72 0d 67 |ffset to| adder.g|
|000055f0| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |et the n|umber of|
|00005600| 20 6c 69 6e 65 73 20 69 | 6e 20 63 68 61 72 20 31 | lines i|n char 1|
|00005610| 20 74 6f 20 61 64 64 65 | 72 20 6f 66 20 77 68 65 | to adde|r of whe|
|00005620| 72 65 0d 69 66 20 77 68 | 61 74 20 3d 20 69 74 65 |re.if wh|at = ite|
|00005630| 6d 20 68 6f 77 20 6f 66 | 20 6c 69 6e 65 20 69 74 |m how of| line it|
|00005640| 20 6f 66 20 77 68 65 72 | 65 20 74 68 65 6e 20 72 | of wher|e then r|
|00005650| 65 74 75 72 6e 20 69 74 | 0d 70 75 74 20 61 64 64 |eturn it|.put add|
|00005660| 65 72 2b 31 20 69 6e 74 | 6f 20 73 74 61 72 74 4f |er+1 int|o startO|
|00005670| 66 66 73 65 74 0d 65 6e | 64 20 72 65 70 65 61 74 |ffset.en|d repeat|
|00005680| 0d 65 6e 64 20 69 74 65 | 6d 46 69 6e 64 0d 0d 6f |.end ite|mFind..o|
|00005690| 6e 20 73 75 6d 48 6f 75 | 72 73 20 74 43 64 0d 67 |n sumHou|rs tCd.g|
|000056a0| 6c 6f 62 61 6c 20 74 6b | 50 72 65 66 73 0d 6c 6f |lobal tk|Prefs.lo|
|000056b0| 63 6b 20 73 63 72 65 65 | 6e 0d 70 75 74 20 66 6c |ck scree|n.put fl|
|000056c0| 64 20 69 64 20 35 20 6f | 66 20 63 64 20 74 43 64 |d id 5 o|f cd tCd|
|000056d0| 20 69 6e 74 6f 20 63 68 | 61 72 67 65 73 0d 70 75 | into ch|arges.pu|
|000056e0| 74 20 66 6c 64 20 69 64 | 20 36 20 6f 66 20 63 64 |t fld id| 6 of cd|
|000056f0| 20 74 43 64 20 69 6e 74 | 6f 20 68 6f 75 72 73 0d | tCd int|o hours.|
|00005700| 70 75 74 20 28 73 75 6d | 49 74 28 64 65 43 6f 6d |put (sum|It(deCom|
|00005710| 6d 61 28 63 68 61 72 67 | 65 73 29 29 29 20 69 6e |ma(charg|es))) in|
|00005720| 74 6f 20 6e 0d 70 75 74 | 20 63 75 72 72 65 6e 63 |to n.put| currenc|
|00005730| 79 46 6f 72 6d 61 74 28 | 63 68 61 72 67 65 46 6f |yFormat(|chargeFo|
|00005740| 72 6d 61 74 28 6e 29 29 | 20 69 6e 74 6f 20 66 6c |rmat(n))| into fl|
|00005750| 64 20 69 64 20 31 31 20 | 6f 66 20 63 64 20 74 43 |d id 11 |of cd tC|
|00005760| 64 0d 70 75 74 20 6e 75 | 6d 46 6f 72 6d 61 74 28 |d.put nu|mFormat(|
|00005770| 73 75 6d 49 74 28 68 6f | 75 72 73 29 2c 32 29 20 |sumIt(ho|urs),2) |
|00005780| 26 20 22 20 68 72 73 2e | 22 20 69 6e 74 6f 20 66 |& " hrs.|" into f|
|00005790| 6c 64 20 69 64 20 34 35 | 20 6f 66 20 63 64 20 74 |ld id 45| of cd t|
|000057a0| 43 64 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |Cd.unloc|k screen|
|000057b0| 0d 65 6e 64 20 73 75 6d | 48 6f 75 72 73 0d 0d 6f |.end sum|Hours..o|
|000057c0| 6e 20 61 70 70 6c 79 52 | 61 74 65 73 0d 67 6c 6f |n applyR|ates.glo|
|000057d0| 62 61 6c 20 78 4c 69 6e | 65 0d 70 75 74 20 22 43 |bal xLin|e.put "C|
|000057e0| 6f 6e 76 65 72 74 20 61 | 6c 6c 20 4a 6f 62 20 53 |onvert a|ll Job S|
|000057f0| 68 65 65 74 20 65 6e 74 | 72 69 65 73 20 74 6f 20 |heet ent|ries to |
|00005800| 63 75 72 72 65 6e 74 20 | 72 61 74 65 73 3f 20 28 |current |rates? (|
|00005810| 54 68 69 73 20 63 6f 75 | 6c 64 20 74 61 6b 65 20 |This cou|ld take |
|00005820| 61 20 77 68 69 6c 65 2e | 29 22 20 69 6e 74 6f 20 |a while.|)" into |
|00005830| 70 72 6f 6d 70 74 0d 67 | 65 74 20 64 6f 44 6c 6f |prompt.g|et doDlo|
|00005840| 67 28 32 36 31 39 2c 70 | 72 6f 6d 70 74 29 0d 69 |g(2619,p|rompt).i|
|00005850| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 20 65 78 |f it = 2| then ex|
|00005860| 69 74 20 61 70 70 6c 79 | 52 61 74 65 73 0d 73 65 |it apply|Rates.se|
|00005870| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00005880| 68 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 67 6f |h.lock s|creen.go|
|00005890| 20 63 64 20 31 20 6f 66 | 20 62 67 20 69 64 20 35 | cd 1 of| bg id 5|
|000058a0| 34 34 39 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |449.repe|at with |
|000058b0| 78 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |x = 1 to| the num|
|000058c0| 62 65 72 20 6f 66 20 63 | 64 73 20 69 6e 20 74 68 |ber of c|ds in th|
|000058d0| 69 73 20 62 67 0d 72 65 | 70 65 61 74 20 77 69 74 |is bg.re|peat wit|
|000058e0| 68 20 78 4c 69 6e 65 20 | 3d 20 31 20 74 6f 20 74 |h xLine |= 1 to t|
|000058f0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00005900| 65 73 20 69 6e 20 66 6c | 64 20 69 64 20 33 0d 72 |es in fl|d id 3.r|
|00005910| 65 63 68 61 72 67 65 0d | 65 6e 64 20 72 65 70 65 |echarge.|end repe|
|00005920| 61 74 0d 67 6f 20 6e 65 | 78 74 20 63 64 20 6f 66 |at.go ne|xt cd of|
|00005930| 20 74 68 69 73 20 62 67 | 0d 65 6e 64 20 72 65 70 | this bg|.end rep|
|00005940| 65 61 74 0d 67 6f 20 63 | 64 20 31 0d 75 6e 6c 6f |eat.go c|d 1.unlo|
|00005950| 63 6b 20 73 63 72 65 65 | 6e 0d 62 65 65 70 0d 65 |ck scree|n.beep.e|
|00005960| 6e 64 20 61 70 70 6c 79 | 52 61 74 65 73 0d 0d 6f |nd apply|Rates..o|
|00005970| 6e 20 72 65 43 68 61 72 | 67 65 0d 67 6c 6f 62 61 |n reChar|ge.globa|
|00005980| 6c 20 78 4c 69 6e 65 2c | 74 6b 50 72 65 66 73 0d |l xLine,|tkPrefs.|
|00005990| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|000059a0| 74 63 68 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |tch.lock| screen.|
|000059b0| 67 65 74 20 69 74 65 6d | 46 69 6e 64 28 6c 69 6e |get item|Find(lin|
|000059c0| 65 20 78 4c 69 6e 65 20 | 6f 66 20 66 6c 64 20 69 |e xLine |of fld i|
|000059d0| 64 20 33 20 26 22 20 22 | 2c 28 66 6c 64 20 69 64 |d 3 &" "|,(fld id|
|000059e0| 20 31 30 20 6f 66 20 63 | 64 20 31 29 2c 31 29 0d | 10 of c|d 1),1).|
|000059f0| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 6c 69 |put item| 2 of li|
|00005a00| 6e 65 20 69 74 20 6f 66 | 20 66 6c 64 20 69 64 20 |ne it of| fld id |
|00005a10| 31 30 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 |10 of cd| 1 into |
|00005a20| 67 0d 69 66 20 67 20 ad | 20 22 22 20 74 68 65 6e |g.if g .| "" then|
|00005a30| 0d 70 75 74 20 28 67 20 | 2a 20 6c 69 6e 65 20 78 |.put (g |* line x|
|00005a40| 4c 69 6e 65 20 6f 66 20 | 66 6c 64 20 69 64 20 36 |Line of |fld id 6|
|00005a50| 29 20 69 6e 74 6f 20 6e | 0d 67 65 74 20 6c 69 6e |) into n|.get lin|
|00005a60| 65 20 32 34 20 6f 66 20 | 74 6b 70 72 65 66 73 0d |e 24 of |tkprefs.|
|00005a70| 70 75 74 20 63 68 61 72 | 67 65 46 6f 72 6d 61 74 |put char|geFormat|
|00005a80| 28 64 65 43 6f 6d 6d 61 | 28 6e 29 29 20 69 6e 74 |(deComma|(n)) int|
|00005a90| 6f 20 6e 0d 70 75 74 20 | 6e 20 69 6e 74 6f 20 6c |o n.put |n into l|
|00005aa0| 69 6e 65 20 78 4c 69 6e | 65 20 6f 66 20 66 6c 64 |ine xLin|e of fld|
|00005ab0| 20 69 64 20 35 0d 70 75 | 74 20 74 68 65 20 73 68 | id 5.pu|t the sh|
|00005ac0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00005ad0| 20 63 64 20 69 6e 74 6f | 20 74 43 64 0d 73 75 6d | cd into| tCd.sum|
|00005ae0| 48 6f 75 72 73 20 74 43 | 64 0d 65 6e 64 20 69 66 |Hours tC|d.end if|
|00005af0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|00005b00| 6e 64 20 72 65 43 68 61 | 72 67 65 0d 0d 6f 6e 20 |nd reCha|rge..on |
|00005b10| 6f 70 65 6e 43 61 72 64 | 0d 73 65 74 20 74 68 65 |openCard|.set the|
|00005b20| 20 64 6f 6e 74 53 65 61 | 72 63 68 20 6f 66 20 74 | dontSea|rch of t|
|00005b30| 68 69 73 20 63 61 72 64 | 20 74 6f 20 74 72 75 65 |his card| to true|
|00005b40| 0d 70 61 73 73 20 6f 70 | 65 6e 43 61 72 64 0d 65 |.pass op|enCard.e|
|00005b50| 6e 64 20 6f 70 65 6e 43 | 61 72 64 0d 0d 6f 6e 20 |nd openC|ard..on |
|00005b60| 63 6c 6f 73 65 43 61 72 | 64 0d 73 65 74 20 74 68 |closeCar|d.set th|
|00005b70| 65 20 64 6f 6e 74 53 65 | 61 72 63 68 20 6f 66 20 |e dontSe|arch of |
|00005b80| 74 68 69 73 20 63 61 72 | 64 20 74 6f 20 66 61 6c |this car|d to fal|
|00005b90| 73 65 0d 70 61 73 73 20 | 63 6c 6f 73 65 43 61 72 |se.pass |closeCar|
|00005ba0| 64 0d 65 6e 64 20 63 6c | 6f 73 65 43 61 72 64 0d |d.end cl|oseCard.|
|00005bb0| 0d 6f 6e 20 64 6f 46 69 | 6e 64 0d 67 6c 6f 62 61 |.on doFi|nd.globa|
|00005bc0| 6c 20 66 69 6e 64 53 74 | 72 69 6e 67 2c 66 69 6e |l findSt|ring,fin|
|00005bd0| 64 4d 73 67 0d 70 75 74 | 20 22 57 68 61 74 20 64 |dMsg.put| "What d|
|00005be0| 6f 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 66 69 |o you wa|nt to fi|
|00005bf0| 6e 64 3f 22 69 6e 74 6f | 20 70 72 6f 6d 70 74 0d |nd?"into| prompt.|
|00005c00| 67 65 74 20 64 6f 44 6c | 6f 67 28 35 36 33 39 2c |get doDl|og(5639,|
|00005c10| 70 72 6f 6d 70 74 2c 22 | 22 2c 66 69 6e 64 53 74 |prompt,"|",findSt|
|00005c20| 72 69 6e 67 29 0d 69 66 | 20 6c 69 6e 65 20 31 20 |ring).if| line 1 |
|00005c30| 6f 66 20 69 74 20 3d 20 | 32 20 6f 72 20 6c 69 6e |of it = |2 or lin|
|00005c40| 65 20 32 20 6f 66 20 69 | 74 20 3d 20 22 22 20 74 |e 2 of i|t = "" t|
|00005c50| 68 65 6e 20 65 78 69 74 | 20 64 6f 46 69 6e 64 0d |hen exit| doFind.|
|00005c60| 70 75 74 20 6c 69 6e 65 | 20 32 20 6f 66 20 69 74 |put line| 2 of it|
|00005c70| 20 69 6e 74 6f 20 66 69 | 6e 64 53 74 72 69 6e 67 | into fi|ndString|
|00005c80| 0d 70 75 74 20 22 66 69 | 6e 64 20 77 68 6f 6c 65 |.put "fi|nd whole|
|00005c90| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 6e |" && quo|te & fin|
|00005ca0| 64 53 74 72 69 6e 67 20 | 26 20 71 75 6f 74 65 20 |dString |& quote |
|00005cb0| 69 6e 74 6f 20 66 69 6e | 64 4d 73 67 0d 73 65 74 |into fin|dMsg.set|
|00005cc0| 20 74 68 65 20 64 6f 6e | 74 53 65 61 72 63 68 20 | the don|tSearch |
|00005cd0| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 74 6f 20 |of this |card to |
|00005ce0| 66 61 6c 73 65 0d 73 65 | 6e 64 20 66 69 6e 64 4d |false.se|nd findM|
|00005cf0| 73 67 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |sg to Hy|perCard.|
|00005d00| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3d 20 |if the r|esult = |
|00005d10| 22 22 20 74 68 65 6e 20 | 65 6e 61 62 6c 65 20 6d |"" then |enable m|
|00005d20| 65 6e 75 49 74 65 6d 20 | 37 20 6f 66 20 6d 65 6e |enuItem |7 of men|
|00005d30| 75 20 47 6f 0d 65 6c 73 | 65 20 62 65 65 70 0d 65 |u Go.els|e beep.e|
|00005d40| 6e 64 20 64 6f 46 69 6e | 64 0d 0d 6f 6e 20 66 69 |nd doFin|d..on fi|
|00005d50| 6e 64 41 67 61 69 6e 0d | 67 6c 6f 62 61 6c 20 66 |ndAgain.|global f|
|00005d60| 69 6e 64 4d 73 67 0d 73 | 65 74 20 74 68 65 20 64 |indMsg.s|et the d|
|00005d70| 6f 6e 74 53 65 61 72 63 | 68 20 6f 66 20 74 68 69 |ontSearc|h of thi|
|00005d80| 73 20 63 61 72 64 20 74 | 6f 20 74 72 75 65 0d 73 |s card t|o true.s|
|00005d90| 65 6e 64 20 66 69 6e 64 | 4d 73 67 20 74 6f 20 48 |end find|Msg to H|
|00005da0| 79 70 65 72 43 61 72 64 | 0d 69 66 20 74 68 65 20 |yperCard|.if the |
|00005db0| 72 65 73 75 6c 74 20 ad | 20 22 22 20 74 68 65 6e |result .| "" then|
|00005dc0| 20 62 65 65 70 0d 65 6e | 64 20 66 69 6e 64 41 67 | beep.en|d findAg|
|00005dd0| 61 69 6e 0d 0d 6f 6e 20 | 64 6f 46 69 72 73 74 46 |ain..on |doFirstF|
|00005de0| 69 6e 64 0d 73 65 74 46 | 69 6e 64 53 74 72 69 6e |ind.setF|indStrin|
|00005df0| 67 0d 65 6e 64 20 64 6f | 46 69 72 73 74 46 69 6e |g.end do|FirstFin|
|00005e00| 64 0d 0d 6f 6e 20 65 78 | 70 6f 72 74 57 61 72 6e |d..on ex|portWarn|
|00005e10| 0d 62 65 65 70 0d 73 64 | 41 6c 65 72 74 20 22 50 |.beep.sd|Alert "P|
|00005e20| 6c 65 61 73 65 20 73 65 | 6c 65 63 74 20 61 6e 20 |lease se|lect an |
|00005e30| 65 78 70 6f 72 74 20 66 | 69 6c 65 20 66 6f 72 6d |export f|ile form|
|00005e40| 61 74 2e 22 0d 65 78 70 | 6f 72 74 46 6f 72 6d 61 |at.".exp|ortForma|
|00005e50| 74 0d 65 6e 64 20 65 78 | 70 6f 72 74 57 61 72 6e |t.end ex|portWarn|
|00005e60| 0d 0d 6f 6e 20 61 72 72 | 6f 77 4b 65 79 20 78 0d |..on arr|owKey x.|
|00005e70| 69 66 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 4b 65 |if the c|ommandKe|
|00005e80| 79 20 3d 20 64 6f 77 6e | 20 74 68 65 6e 20 70 75 |y = down| then pu|
|00005e90| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 6d 6f 64 4b |t true i|nto modK|
|00005ea0| 65 79 0d 65 6c 73 65 20 | 70 75 74 20 66 61 6c 73 |ey.else |put fals|
|00005eb0| 65 20 69 6e 74 6f 20 6d | 6f 64 4b 65 79 0d 69 66 |e into m|odKey.if|
|00005ec0| 20 78 20 3d 20 6c 65 66 | 74 20 61 6e 64 20 6e 6f | x = lef|t and no|
|00005ed0| 74 20 6d 6f 64 4b 65 79 | 20 74 68 65 6e 0d 67 6f |t modKey| then.go|
|00005ee0| 20 70 72 65 76 20 63 64 | 20 6f 66 20 74 68 69 73 | prev cd| of this|
|00005ef0| 20 62 67 0d 65 78 69 74 | 20 61 72 72 6f 77 4b 65 | bg.exit| arrowKe|
|00005f00| 79 0d 65 6c 73 65 20 69 | 66 20 78 20 3d 20 72 69 |y.else i|f x = ri|
|00005f10| 67 68 74 20 61 6e 64 20 | 6e 6f 74 20 6d 6f 64 4b |ght and |not modK|
|00005f20| 65 79 20 74 68 65 6e 0d | 67 6f 20 6e 65 78 74 20 |ey then.|go next |
|00005f30| 63 64 20 6f 66 20 74 68 | 69 73 20 62 67 0d 65 78 |cd of th|is bg.ex|
|00005f40| 69 74 20 61 72 72 6f 77 | 4b 65 79 0d 65 6c 73 65 |it arrow|Key.else|
|00005f50| 20 69 66 20 78 20 3d 20 | 64 6f 77 6e 20 61 6e 64 | if x = |down and|
|00005f60| 20 6e 6f 74 20 6d 6f 64 | 4b 65 79 20 74 68 65 6e | not mod|Key then|
|00005f70| 0d 67 6f 20 6c 61 73 74 | 20 63 64 20 6f 66 20 74 |.go last| cd of t|
|00005f80| 68 69 73 20 62 67 0d 65 | 78 69 74 20 61 72 72 6f |his bg.e|xit arro|
|00005f90| 77 4b 65 79 0d 65 6c 73 | 65 20 69 66 20 78 20 3d |wKey.els|e if x =|
|00005fa0| 20 75 70 20 61 6e 64 20 | 6e 6f 74 20 6d 6f 64 4b | up and |not modK|
|00005fb0| 65 79 20 74 68 65 6e 0d | 67 6f 20 66 69 72 73 74 |ey then.|go first|
|00005fc0| 20 63 64 20 6f 66 20 74 | 68 69 73 20 62 67 0d 65 | cd of t|his bg.e|
|00005fd0| 78 69 74 20 61 72 72 6f | 77 4b 65 79 0d 65 6c 73 |xit arro|wKey.els|
|00005fe0| 65 20 70 61 73 73 20 61 | 72 72 6f 77 4b 65 79 0d |e pass a|rrowKey.|
|00005ff0| 65 6e 64 20 61 72 72 6f | 77 4b 65 79 0d 0d 66 75 |end arro|wKey..fu|
|00006000| 6e 63 74 69 6f 6e 20 74 | 6b 4e 61 76 4c 6f 63 0d |nction t|kNavLoc.|
|00006010| 67 6c 6f 62 61 6c 20 74 | 6b 50 72 65 66 73 0d 69 |global t|kPrefs.i|
|00006020| 66 20 6c 69 6e 65 20 32 | 33 20 6f 66 20 74 6b 50 |f line 2|3 of tkP|
|00006030| 72 65 66 73 20 ad 20 22 | 22 20 74 68 65 6e 20 72 |refs . "|" then r|
|00006040| 65 74 75 72 6e 20 6c 69 | 6e 65 20 32 33 20 6f 66 |eturn li|ne 23 of|
|00006050| 20 74 6b 50 72 65 66 73 | 0d 65 6c 73 65 20 72 65 | tkPrefs|.else re|
|00006060| 74 75 72 6e 20 22 31 32 | 37 2c 33 30 35 22 0d 65 |turn "12|7,305".e|
|00006070| 6e 64 20 74 6b 4e 61 76 | 4c 6f 63 0d 0d 6f 6e 20 |nd tkNav|Loc..on |
|00006080| 67 6f 54 6f 44 61 69 6c | 79 4c 6f 67 0d 67 6c 6f |goToDail|yLog.glo|
|00006090| 62 61 6c 20 62 61 74 63 | 68 4d 6f 64 65 2c 63 6f |bal batc|hMode,co|
|000060a0| 70 79 4d 6f 64 65 2c 70 | 61 73 74 65 4d 6f 64 65 |pyMode,p|asteMode|
|000060b0| 0d 69 66 20 62 61 74 63 | 68 4d 6f 64 65 20 3d 20 |.if batc|hMode = |
|000060c0| 74 72 75 65 20 6f 72 20 | 70 61 73 74 65 4d 6f 64 |true or |pasteMod|
|000060d0| 65 20 3d 20 74 72 75 65 | 20 6f 72 20 63 6f 70 79 |e = true| or copy|
|000060e0| 4d 6f 64 65 20 3d 20 74 | 72 75 65 0d 74 68 65 6e |Mode = t|rue.then|
|000060f0| 0d 62 65 65 70 0d 65 78 | 69 74 20 67 6f 54 6f 44 |.beep.ex|it goToD|
|00006100| 61 69 6c 79 4c 6f 67 0d | 65 6e 64 20 69 66 0d 67 |ailyLog.|end if.g|
|00006110| 6f 20 63 64 20 31 0d 65 | 6e 64 20 67 6f 54 6f 44 |o cd 1.e|nd goToD|
|00006120| 61 69 6c 79 4c 6f 67 0d | 0d 6f 6e 20 67 6f 54 6f |ailyLog.|.on goTo|
|00006130| 4a 6f 62 53 68 65 65 74 | 73 0d 67 6c 6f 62 61 6c |JobSheet|s.global|
|00006140| 20 62 61 74 63 68 4d 6f | 64 65 2c 63 6f 70 79 4d | batchMo|de,copyM|
|00006150| 6f 64 65 2c 70 61 73 74 | 65 4d 6f 64 65 0d 69 66 |ode,past|eMode.if|
|00006160| 20 62 61 74 63 68 4d 6f | 64 65 20 3d 20 74 72 75 | batchMo|de = tru|
|00006170| 65 20 6f 72 20 70 61 73 | 74 65 4d 6f 64 65 20 3d |e or pas|teMode =|
|00006180| 20 74 72 75 65 20 6f 72 | 20 63 6f 70 79 4d 6f 64 | true or| copyMod|
|00006190| 65 20 3d 20 74 72 75 65 | 0d 74 68 65 6e 0d 62 65 |e = true|.then.be|
|000061a0| 65 70 0d 65 78 69 74 20 | 67 6f 54 6f 4a 6f 62 53 |ep.exit |goToJobS|
|000061b0| 68 65 65 74 73 0d 65 6e | 64 20 69 66 0d 67 6f 20 |heets.en|d if.go |
|000061c0| 6c 61 73 74 20 63 64 20 | 6f 66 20 62 67 20 69 64 |last cd |of bg id|
|000061d0| 20 35 34 34 39 0d 65 6e | 64 20 67 6f 54 6f 4a 6f | 5449.en|d goToJo|
|000061e0| 62 53 68 65 65 74 73 0d | 0d 6f 6e 20 67 6f 54 6f |bSheets.|.on goTo|
|000061f0| 54 69 6d 65 53 68 65 65 | 74 73 0d 67 6c 6f 62 61 |TimeShee|ts.globa|
|00006200| 6c 20 62 61 74 63 68 4d | 6f 64 65 2c 63 6f 70 79 |l batchM|ode,copy|
|00006210| 4d 6f 64 65 2c 70 61 73 | 74 65 4d 6f 64 65 0d 69 |Mode,pas|teMode.i|
|00006220| 66 20 62 61 74 63 68 4d | 6f 64 65 20 3d 20 74 72 |f batchM|ode = tr|
|00006230| 75 65 20 6f 72 20 70 61 | 73 74 65 4d 6f 64 65 20 |ue or pa|steMode |
|00006240| 3d 20 74 72 75 65 20 6f | 72 20 63 6f 70 79 4d 6f |= true o|r copyMo|
|00006250| 64 65 20 3d 20 74 72 75 | 65 0d 74 68 65 6e 0d 62 |de = tru|e.then.b|
|00006260| 65 65 70 0d 65 78 69 74 | 20 67 6f 54 6f 54 69 6d |eep.exit| goToTim|
|00006270| 65 53 68 65 65 74 73 0d | 65 6e 64 20 69 66 0d 67 |eSheets.|end if.g|
|00006280| 6f 20 6c 61 73 74 20 63 | 64 0d 65 6e 64 20 67 6f |o last c|d.end go|
|00006290| 54 6f 54 69 6d 65 53 68 | 65 65 74 73 0d 0d 6f 6e |ToTimeSh|eets..on|
|000062a0| 20 67 6f 74 6f 41 72 63 | 68 69 76 65 0d 67 6c 6f | gotoArc|hive.glo|
|000062b0| 62 61 6c 20 62 61 74 63 | 68 4d 6f 64 65 2c 63 6f |bal batc|hMode,co|
|000062c0| 70 79 4d 6f 64 65 2c 70 | 61 73 74 65 4d 6f 64 65 |pyMode,p|asteMode|
|000062d0| 0d 69 66 20 62 61 74 63 | 68 4d 6f 64 65 20 3d 20 |.if batc|hMode = |
|000062e0| 74 72 75 65 20 6f 72 20 | 70 61 73 74 65 4d 6f 64 |true or |pasteMod|
|000062f0| 65 20 3d 20 74 72 75 65 | 20 6f 72 20 63 6f 70 79 |e = true| or copy|
|00006300| 4d 6f 64 65 20 3d 20 74 | 72 75 65 0d 74 68 65 6e |Mode = t|rue.then|
|00006310| 0d 62 65 65 70 0d 65 78 | 69 74 20 67 6f 74 6f 41 |.beep.ex|it gotoA|
|00006320| 72 63 68 69 76 65 0d 65 | 6e 64 20 69 66 0d 67 6f |rchive.e|nd if.go|
|00006330| 20 6c 61 73 74 20 63 64 | 20 6f 66 20 62 67 20 69 | last cd| of bg i|
|00006340| 64 20 34 37 31 37 0d 65 | 6e 64 20 67 6f 54 6f 41 |d 4717.e|nd goToA|
|00006350| 72 63 68 69 76 65 0d 0d | 6f 6e 20 68 69 64 65 54 |rchive..|on hideT|
|00006360| 4b 4e 61 76 0d 67 6c 6f | 62 61 6c 20 74 6b 50 72 |KNav.glo|bal tkPr|
|00006370| 65 66 73 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |efs.if t|here is |
|00006380| 61 20 77 69 6e 64 6f 77 | 20 22 73 65 63 74 4e 61 |a window| "sectNa|
|00006390| 76 22 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |v" then |close wi|
|000063a0| 6e 64 6f 77 20 22 73 65 | 63 74 4e 61 76 22 0d 70 |ndow "se|ctNav".p|
|000063b0| 75 74 20 22 53 68 6f 77 | 20 4e 61 76 69 67 61 74 |ut "Show| Navigat|
|000063c0| 6f 72 22 20 69 6e 74 6f | 20 6d 65 6e 75 49 74 65 |or" into| menuIte|
|000063d0| 6d 20 31 32 20 6f 66 20 | 6d 65 6e 75 20 47 6f 0d |m 12 of |menu Go.|
|000063e0| 70 75 74 20 22 53 68 6f | 77 22 20 69 6e 74 6f 20 |put "Sho|w" into |
|000063f0| 6c 69 6e 65 20 32 32 20 | 6f 66 20 74 6b 50 72 65 |line 22 |of tkPre|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.